connect: set TIMER_CONNECT
When connecting, make sure TIMER_CONNECT is set.
This commit is contained in:
parent
7b054a42aa
commit
3af9ba166c
@ -700,7 +700,8 @@ CURLcode Curl_is_connected(struct connectdata *conn,
|
||||
|
||||
conn->bits.tcpconnect[sockindex] = TRUE;
|
||||
*connected = TRUE;
|
||||
Curl_pgrsTime(data, TIMER_CONNECT); /* connect done */
|
||||
if(sockindex == FIRSTSOCKET)
|
||||
Curl_pgrsTime(data, TIMER_CONNECT); /* connect done */
|
||||
Curl_verboseconnect(conn);
|
||||
Curl_updateconninfo(conn, sockfd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user