Skip to content
Snippets Groups Projects
Commit 30b7a9f1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

fixed a Curl_connecthost() bug, we should default to set connected to false

parent c74cb59e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment