#45. libcurl built to support ipv6 uses getaddrinfo() to resolve host names.
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Feb 2009 16:09:45 +0000 (16:09 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Feb 2009 16:09:45 +0000 (16:09 +0000)
   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.

docs/KNOWN_BUGS

index 0910875..19150a5 100644 (file)
@@ -59,13 +59,6 @@ may have been fixed since this was written!
   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