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

Bug report #634625 identified how curl returned timeout immediately when

CURLOPT_CONNECTTIMEOUT was used and provided a fix.
parent a23c9259
No related branches found
No related tags found
No related merge requests found
......@@ -1764,6 +1764,10 @@ static CURLcode CreateConnection(struct SessionHandle *data,
/* Store creation time to help future close decision making */
conn->created = Curl_tvnow();
/* Set the start time temporary to this creation time to allow easier
timeout checks before the transfer has started for real. The start time
is later set "for real" using Curl_pgrsStartNow(). */
conn->data->progress.start = conn->created;
/***********************************************************
* We need to allocate memory to store the path in. We get the size of the
......
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