Re: #445: Transfer-codings

On Fri, Apr 04, 2014 at 03:52:24PM +1000, Matthew Kerwin wrote:
> On 4 April 2014 15:09, Mark Nottingham <mnot@mnot.net> wrote:
> 
> Also, how should a recipient handle a stream that has DATA frames with
> > different values for encoding?
> 
> By decoding each as it arrives, the same way it would handle a stream with
> the same encoding every frame. Two gzip'd frames don't add together to
> make one big gzip file.

Are the compression contexts chained? If so, using multiple compressions
one could use some serious memory (especially as window sizes are not
limited).

bzip2 -9 neeeds ~3700kB to decode. xz -9 needs ~65MB(!).


-Ilari

Received on Friday, 4 April 2014 11:07:06 UTC