mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:03:37 +03:00
connect: only set connect timer on first socket
Only collect connect/appconnect timer stats on the first socket. Fixes #22587 Closes #22592 Reported-by: GLaDOS-418 on github
This commit is contained in:
parent
91323de7f3
commit
ebc0fbc0e8
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ static CURLcode conn_connect_trace(struct Curl_easy *data,
|
|||
static void conn_report_connect_stats(struct Curl_cfilter *cf,
|
||||
struct Curl_easy *data)
|
||||
{
|
||||
if(cf) {
|
||||
if(cf && (cf->sockindex == FIRSTSOCKET)) {
|
||||
struct curltime connected;
|
||||
struct curltime appconnected;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue