cURL / Mailing Lists / curl-library / Single Mail


Re: question about chunked encoding and CURLINFO_SIZE_DOWNLOAD

From: Daniel Stenberg <>
Date: Fri, 16 May 2014 22:10:16 +0200 (CEST)

On Fri, 16 May 2014, Ryan Braud wrote:

> It does seem that using CURLOPT_DEBUGFUNCTION and counting CURLINFO_DATA_IN
> gives me ALL the (non-header) bytes received though, including the bytes for
> chunked meta-data. Is this correct?

Yes! The debug callback gets the full data, including the chunking itself.

List admin:
Received on 2014-05-16