mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:23:32 +03:00
getinfo: fix CURLINFO_QUEUE_TIME_T and add 'time_queue' var
Let CURLINFO_QUEUE_TIME_T count only the time a transfer spends queued, including possible redirect requests. Add var 'time_queue' for reporting the time in write outs. Add test for verifying correct reporting. Closes #15512
This commit is contained in:
parent
40c264db61
commit
b06b35154f
9 changed files with 25 additions and 9 deletions
|
|
@ -230,6 +230,12 @@ The time, in seconds, it took from the start until the file transfer was just
|
|||
about to begin. This includes all pre-transfer commands and negotiations that
|
||||
are specific to the particular protocol(s) involved.
|
||||
|
||||
## `time_queue`
|
||||
The time, in seconds, the transfer was queued during its run. This adds
|
||||
the queue time for each redirect step that may have happened. Transfers
|
||||
may be queued for significant amounts of time when connection or parallel
|
||||
limits are in place. (Added in 8.12.0)
|
||||
|
||||
## `time_redirect`
|
||||
The time, in seconds, it took for all redirection steps including name lookup,
|
||||
connect, pretransfer and transfer before the final transaction was
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue