1. 10 Jan, 2014 1 commit
    • Daniel Stenberg's avatar
      threaded-resolver: never use NULL hints with getaddrinfo · 041d1e14
      Daniel Stenberg authored
      The net effect of this bug as it appeared to users, would be that
      libcurl would timeout in the connect phase.
      
      When disabling IPv6 use but still using getaddrinfo, libcurl would
      wrongly not init the "hints" struct field in init_thread_sync() which
      would subsequently lead to a getaddrinfo() invoke with a zeroed hints
      with ai_socktype set to 0 instead of SOCK_STREAM. This would lead to
      different behaviors on different platforms but basically incorrect
      output.
      
      This code was introduced in 483ff1ca, released in curl 7.20.0.
      
      This bug became a problem now due to the happy eyeballs code and how
      libcurl now traverses the getaddrinfo() results differently.
      
      Bug: http://curl.haxx.se/mail/lib-2014-01/0061.html
      Reported-by: Fabian Frank
      Debugged-by: Fabian Frank
      041d1e14
  2. 09 Jan, 2014 1 commit
  3. 08 Jan, 2014 7 commits
  4. 07 Jan, 2014 3 commits
  5. 05 Jan, 2014 23 commits
  6. 04 Jan, 2014 5 commits