mirror of
https://github.com/curl/curl.git
synced 2026-07-30 10:18:03 +03:00
CURLINFO_NUM_CONNECTS and more
This commit is contained in:
parent
ebf7d22503
commit
f4bef25b5e
12 changed files with 164 additions and 9 deletions
|
|
@ -784,5 +784,7 @@ CURLcode Curl_connecthost(struct connectdata *conn, /* context */
|
|||
if(sockconn)
|
||||
*sockconn = sockfd; /* the socket descriptor we've connected */
|
||||
|
||||
data->info.numconnects++; /* to track the number of connections made */
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue