1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

curl_easy_getinfo.3: clarify CURLINFO_SIZE_DOWNLOAD

It counts "body" data only, no meta data, no headers.
This commit is contained in:
Daniel Stenberg 2014-05-16 09:28:28 +02:00
parent 077366d0c6
commit 4550a00a3e

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -109,7 +109,9 @@ uploaded.
.IP CURLINFO_SIZE_DOWNLOAD .IP CURLINFO_SIZE_DOWNLOAD
Pass a pointer to a double to receive the total amount of bytes that were Pass a pointer to a double to receive the total amount of bytes that were
downloaded. The amount is only for the latest transfer and will be reset again downloaded. The amount is only for the latest transfer and will be reset again
for each new transfer. for each new transfer. This counts actual payload data, what's also commonly
called body. All meta and header data are excluded and will not be counted in
this number.
.IP CURLINFO_SPEED_DOWNLOAD .IP CURLINFO_SPEED_DOWNLOAD
Pass a pointer to a double to receive the average download speed that curl Pass a pointer to a double to receive the average download speed that curl
measured for the complete download. Measured in bytes/second. measured for the complete download. Measured in bytes/second.