Re: HTTP/2 Server Push and solid compression

On Tue, May 21, 2019 at 01:51:27PM -0400, Felipe Gasper wrote:
> 
> Possibly … does h2 multiplexing use a separate compression context
> for each stream, or does it funnel each message through the same
> context? If the former, then I would think it’s a non-issue since
> streams are processed sequentially.

AFAIK, HTTP/2 can not compress message bodies. The mechanism HTTP/1.x
had to compress message bodies (Transfer-Encoding) was removed.

And even the HTTP/1.x mechanism used separate context for each
request or response.

And I would imagine reusing contexts would run into all sorts of
data leaks by abusing compression...


-Ilari

Received on Tuesday, 21 May 2019 18:08:21 UTC