multi: do a final progress update on connect failure

To fix timing metric etc

Co-authored-by: Justin Maggard
Fixes #14204
Closes #14239
This commit is contained in:
Daniel Stenberg 2024-07-20 00:44:27 +02:00
parent 1f877b0fba
commit 56493eea1c
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 20 additions and 3 deletions

View file

@ -2643,6 +2643,7 @@ statemachine_end:
else if(data->mstate == MSTATE_CONNECT) {
/* Curl_connect() failed */
(void)Curl_posttransfer(data);
Curl_pgrsUpdate_nometer(data);
}
multistate(data, MSTATE_COMPLETED);