diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-14 14:22:25 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-14 14:22:25 +0100 |
commit | 2ab60c008c636ab34930398df345d6fd9c3fa343 (patch) | |
tree | 6c003751c0ec6758ec95de1cdc087f8f7a512417 | |
parent | 8f32ead8bf38ba7cb86c98f16db7c0e28a5c07c8 (diff) | |
download | curl-bagder/pretransfer-docs.tar.gz |
CURLINFO_PRETRANSFER_TIME.3: clarifybagder/pretransfer-docs
... the timer *does* include the instructions for getting the remote
file.
Ref: #6452
-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. |