curl / Mailing Lists / curl-library / Single Mail

curl-library

Downloaded vs written sizes

From: Pawel Veselov via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 7 Jul 2017 20:31:45 +0200

Hello.

Just wanted to make sure I understand this correctly.

The download counter that can be obtained from CURLINFO_SIZE_DOWNLOAD is the
amount of bytes received over the network. So if the content was compressed,
and was decompressed by CURL, then the amount of bytes sent to
CURLOPT_WRITEFUNCTION would normally differ from value obtained from
CURLINFO_SIZE_DOWNLOAD.

Right?

Thank you,
  Pawel.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-07-07