On 02/10/2013 12:40, Brian Burkhalter wrote:
:
1) If the error is EAI_AGAIN / EIA_SYSTEM+EAGAIN / WSATRY_AGAIN then
do one immediate native retry.
2) If the retry fails with the same error, then throw a UHE with a
specific message or cause.
It's very possible the retry will fail the same way but should be
harmless (modulo the delay if is a timeout).
Having the UHE be thrown with the message from gai_strerror would be
must more useful. The reason I suggesting use a cause is because UHE has
always been thrown with the host name as the detail message (and very
possible that there are dependencies somewhere on this).
-Alan.