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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user