cURL / Mailing Lists / curl-library / Single Mail


Re: How does libCurl handle Content-Encoding GZIP + partial responses in respect to automatically decoding of compressed content

From: Dan Fandrich <>
Date: Tue, 1 May 2007 10:28:29 -0700

On Tue, May 01, 2007 at 11:07:55AM +0200, Stefan Krause wrote:
> Might it theoretically happen that all the compressed data has to be
> received and stored on the heap
> before it can be decompressed?

The maximum amount of a gzip/deflate data stream you would need to keep
around before being able to decompress it is a function of the compression
level used by the server, but is never more than 64 KiB.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-05-01