getaddrinfo() sorts the response list
This isn't a libcurl bug since this is how getaddrinfo() is *supposed* to work!
Apparently you deal with this using the /etc/gai.conf file.
function will return prematurely and will confuse the rest of the HTTP
protocol code. This should be very rare.
-45. libcurl built to support ipv6 uses getaddrinfo() to resolve host names.
- getaddrinfo() sorts the response list which effectively kills how libcurl
- deals with round-robin DNS entries. All details:
- http://curl.haxx.se/mail/lib-2007-07/0168.html
- initial suggested function to use for randomizing the response:
- http://curl.haxx.se/mail/lib-2007-07/0178.html
-
43. There seems to be a problem when connecting to the Microsoft telnet server.
http://curl.haxx.se/bug/view.cgi?id=1720605