mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
fixed a Curl_connecthost() bug, we should default to set connected to false
This commit is contained in:
parent
c74cb59e08
commit
30b7a9f172
@ -427,6 +427,9 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
||||
* Figure out what maximum time we have left
|
||||
*************************************************************/
|
||||
long timeout_ms=300000; /* milliseconds, default to five minutes */
|
||||
|
||||
*connected = FALSE; /* default to not connected */
|
||||
|
||||
if(data->set.timeout || data->set.connecttimeout) {
|
||||
double has_passed;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user