W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2014

Re: #445: Transfer-codings

From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Date: Fri, 4 Apr 2014 14:06:38 +0300
To: Matthew Kerwin <matthew@kerwin.net.au>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20140404110638.GA15394@LK-Perkele-VII>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:29 UTC