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

Connect failures with the multi interface was often returned as "connect()

timed out" even though the reason was different. Fixed this problem by not
setting this timeout to zero when using multi.
parent 54b02ecf
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,10 @@


                                  Changelog
                                  Changelog


Daniel (29 January 2005)
- Connect failures with the multi interface was often returned as "connect()
  timed out" even though the reason was different.

Daniel (28 January 2005)
Daniel (28 January 2005)
- KNOWN_BUGS #17 fixed. A DNS cache entry may not remain locked between two
- KNOWN_BUGS #17 fixed. A DNS cache entry may not remain locked between two
  curl_easy_perform() invokes. It was previously unlocked at disconnect, which
  curl_easy_perform() invokes. It was previously unlocked at disconnect, which
+1 −1
Original line number Original line Diff line number Diff line
@@ -754,7 +754,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */


  if(data->state.used_interface == Curl_if_multi)
  if(data->state.used_interface == Curl_if_multi)
    /* don't hang when doing multi */
    /* don't hang when doing multi */
    timeout_per_addr = timeout_ms = 0;
    timeout_per_addr = 0;


  /*
  /*
   * Connecting with a Curl_addrinfo chain
   * Connecting with a Curl_addrinfo chain