Commit b1233c7e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

#45. libcurl built to support ipv6 uses getaddrinfo() to resolve host names.

   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.
parent 4ebe4b90
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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