mirror of
https://github.com/curl/curl.git
synced 2026-05-14 13:36:19 +03:00
fixed a Curl_connecthost() bug, we should default to set connected to false
This commit is contained in:
parent
c74cb59e08
commit
30b7a9f172
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue