getinfo: add CURLINFO_POSTTRANSFER_TIME_T

Returns the time, in microseconds, from the start until the last byte is
sent by libcurl (i.e. the request is sent off).

Closes #14189
This commit is contained in:
Alex Snast 2024-07-15 11:52:50 +03:00 committed by Daniel Stenberg
parent c0233a35da
commit 136504195a
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
18 changed files with 123 additions and 9 deletions

View file

@ -217,7 +217,7 @@ void Curl_pgrsTimeWas(struct Curl_easy *data, timerid timer,
break;
}
case TIMER_POSTRANSFER:
/* this is the normal end-of-transfer thing */
delta = &data->progress.t_posttransfer;
break;
case TIMER_REDIRECT:
data->progress.t_redirect = Curl_timediff_us(timestamp,