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.
This commit is contained in:
Daniel Stenberg 2005-01-28 23:21:24 +00:00
parent 54b02ecf09
commit f661475962
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,10 @@
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)
- 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

View File

@ -754,7 +754,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
if(data->state.used_interface == Curl_if_multi)
/* don't hang when doing multi */
timeout_per_addr = timeout_ms = 0;
timeout_per_addr = 0;
/*
* Connecting with a Curl_addrinfo chain