Artifact 1f7898f1090cc084cadde0f6116b8fc1fa6b22ba47c7d9331b8c355cb9db867c:
Only use getaddrinfo() if it's thread-safe - it does not make much
sense to allow getaddrinfo() if it's not thread-safe, as then its
biggest advantage to gethostbyname() is gone.
Also, copy the result from gethostbyname() so we can release the lock
before connecting - this should greatly improve the speed when trying
to connect to multiple hosts without a thread-safe getaddrinfo().
by
js on
2009-12-17 10:53:23.
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.