diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-14 14:22:25 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-14 23:15:07 +0100 |
commit | ec8dcd7b3303a9e2ec4f4150727c1f7321f64052 (patch) | |
tree | bccd2fa7daa004fb4b8f31a2a5fc21e8d25c195f | |
parent | e87ad71d1ba00519bc96dd67b9621911aefcdb84 (diff) | |
download | curl-ec8dcd7b3303a9e2ec4f4150727c1f7321f64052.tar.gz |
CURLINFO_PRETRANSFER_TIME.3: clarify
... the timer *does* include the instructions for getting the remote
file.
Ref: #6452
Closes #6453
-rw-r--r-- | docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.3 b/docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.3 index 113b0331e..68f68f88a 100644 --- a/docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.3 +++ b/docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -29,10 +29,11 @@ CURLINFO_PRETRANSFER_TIME \- get the time until the file transfer start CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRETRANSFER_TIME, double *timep); .SH DESCRIPTION Pass a pointer to a double to receive the time, in seconds, it took from the -start until the file transfer is just about to begin. This includes all -pre-transfer commands and negotiations that are specific to the particular -protocol(s) involved. It does \fInot\fP involve the sending of the protocol- -specific request that triggers a transfer. +start until the file transfer is just about to begin. + +This time-stamp includes all pre-transfer commands and negotiations that are +specific to the particular protocol(s) involved. It includes the sending of +the protocol- specific protocol instructions that triggers a transfer. When a redirect is followed, the time from each request is added together. |