From 6a151c1312d9dfd6805ea672716b5b6e57e9534d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 8 Jun 2006 11:06:26 +0000 Subject: [PATCH] corrected the CURLINFO_TOTAL_TIME description --- docs/libcurl/curl_easy_getinfo.3 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/libcurl/curl_easy_getinfo.3 b/docs/libcurl/curl_easy_getinfo.3 index f1d74b698..31f14fe29 100644 --- a/docs/libcurl/curl_easy_getinfo.3 +++ b/docs/libcurl/curl_easy_getinfo.3 @@ -63,10 +63,8 @@ information before the transfer is made, by using the CURLOPT_FILETIME option to \fIcurl_easy_setopt(3)\fP or you will unconditionally get a -1 back. (Added in 7.5) .IP CURLINFO_TOTAL_TIME -Pass a pointer to a double to receive the total transaction time in seconds -for the previous transfer. This time does not include the connect time, so if -you want the complete operation time, you should add the -CURLINFO_CONNECT_TIME. +Pass a pointer to a double to receive the total time in seconds for the +previous transfer, including name resolving, TCP connect etc. .IP CURLINFO_NAMELOOKUP_TIME Pass a pointer to a double to receive the time, in seconds, it took from the start until the name resolving was completed. @@ -182,7 +180,7 @@ curl_easy_perform() |--|--CT |--|--|--PT |--|--|--|--ST - |--|--|--TT + |--|--|--|--|--TT |--|--|--|--|--RT .FI .IP NT @@ -199,9 +197,7 @@ and negotiations that are specific to the particular protocol(s) involved. \fICURLINFO_STARTTRANSFER_TIME\fP. The time it took from the start until the first byte is just about to be transferred. .IP TT -\fICURLINFO_TOTAL_TIME\fP. Time of the previous transfer. This time does not -include the connect time (CT), so if you want the complete operation time, you -should add that. +\fICURLINFO_TOTAL_TIME\fP. Total time of the previous request. .IP RT \fICURLINFO_REDIRECT_TIME\fP. The time it took for all redirection steps include name lookup, connect, pretransfer and transfer before final