]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLINFO_PRETRANSFER_TIME_T.3: fix time explanation
authorJay Satiro <raysatiro@yahoo.com>
Thu, 30 Nov 2023 20:18:57 +0000 (15:18 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 1 Dec 2023 07:58:00 +0000 (02:58 -0500)
- Change CURLINFO_PRETRANSFER_TIME_T explanation to say that it
  includes protocol-specific instructions that trigger a transfer.

Prior to this change it explicitly said that it did not include those
instructions in the time, but that is incorrect.

The change is a copy of the fixed explanation already in
CURLINFO_PRETRANSFER_TIME, fixed by ec8dcd7b.

Reported-by: eeverettrbx@users.noreply.github.com
Fixes https://github.com/curl/curl/issues/12431
Closes https://github.com/curl/curl/pull/12432

docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.3
docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME_T.3

index 05cab3be30ae1c76fbb516f0a4482adffc3ba514..7042a3b2b2476f24741e3156d6e8d9bc14d2f322 100644 (file)
@@ -38,7 +38,7 @@ 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.
+the protocol-specific instructions that trigger a transfer.
 
 When a redirect is followed, the time from each request is added together.
 
index eb1434a54e419e6bcd29670661a8ca67c81df6bc..d5de3cc647cdc540ca19485dc680a95d3a63452a 100644 (file)
@@ -33,12 +33,12 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRETRANSFER_TIME_T,
                            curl_off_t *timep);
 .fi
 .SH DESCRIPTION
-Pass a pointer to a curl_off_t to receive the time, in microseconds,
-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.
+Pass a pointer to a curl_off_t to receive the time, in microseconds, it took
+from the 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 instructions that trigger a transfer.
 
 When a redirect is followed, the time from each request is added together.