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

Re: Call for Consensus: Remove "reference set" from HPACK (to address #552)

From: Greg Wilkins <gregw@intalio.com>
Date: Wed, 16 Jul 2014 16:19:41 +1000
Message-ID: <CAH_y2NEeGPYGUpL7xnM2Eyv+QPByorMRdu-kRy_UR72H8B4iUA@mail.gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
On 16 July 2014 16:08, Willy Tarreau <w@1wt.eu> wrote:

> I mean, the current design allows you to have a header field whose value
> changes between consecutive requests (eg: a proxy aggregating multiple
> users' requests), and still have that changing value referenced with
> little overhead.
>

That is still possible.

If one user sends a field

   wibble: now is the time for all good men to come to the aid of the party

that will be sent literal name and value and will go into the header
table.  Then when another user sends

  wibble: the moon is blue to a fish in love

That can be sent as a literal, but with indexed name - pointing to the
previous entry (but the value is ignored).

Now both fields are in the table and both can be used with a single index
reference.  If they are in the first 64, then it is only a single byte.

cheers








-- 
Greg Wilkins <gregw@intalio.com>
http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that scales
http://www.webtide.com  advice and support for jetty and cometd.
Received on Wednesday, 16 July 2014 06:20:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 30 March 2016 09:57:09 UTC