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

@@ -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