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

@ -2953,7 +2953,8 @@ typedef enum {
CURLINFO_CONN_ID = CURLINFO_OFF_T + 64,
CURLINFO_QUEUE_TIME_T = CURLINFO_OFF_T + 65,
CURLINFO_USED_PROXY = CURLINFO_LONG + 66,
CURLINFO_LASTONE = 66
CURLINFO_POSTTRANSFER_TIME_T = CURLINFO_OFF_T + 67,
CURLINFO_LASTONE = 67
} CURLINFO;
/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as