Commit ec1736d4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

corrected the docs for CURLINFO_FILETIME

parent 45225796
Loading
Loading
Loading
Loading
+5 −3
Changes for docs/curl_easy_getinfo.3: 5 added lines, 3 removed lines.
Original line number Original line Diff line number Diff line
@@ -30,9 +30,11 @@ Pass a pointer to a long to receive the last received HTTP code.
.TP
.TP
.B CURLINFO_FILETIME
.B CURLINFO_FILETIME
Pass a pointer to a long to receive the remote time of the retrieved
Pass a pointer to a long to receive the remote time of the retrieved
document. If you get 0, it can be because of many reasons (unknown, the server
document. If you get -1, it can be because of many reasons (unknown, the
hides it or the server doesn't support the command that tells document time
server hides it or the server doesn't support the command that tells document
etc) and the time of the document is unknown. (Added in 7.5)
time etc) and the time of the document is unknown. Note that you must tell the
server to collect this information before the transfer is made, by using the
CURLOPT_FILETIME option to \fIcurl_easy_setopt(3)\fP. (Added in 7.5)
.TP
.TP
.B CURLINFO_TOTAL_TIME
.B CURLINFO_TOTAL_TIME
Pass a pointer to a double to receive the total transaction time in seconds
Pass a pointer to a double to receive the total transaction time in seconds