Re: hpack static table question?

On Mon, Jun 02, 2014 at 04:45:28PM +0200, Greg Wilkins wrote:
> The hpack draft 7 says in 3.2.1 : "The referenced static entry is inserted
> at the beginning of the header table".
> 
> I can't understand why this copy of a static entry to the dynamic table is
> needed?   Doesn't this mean that the static entry will now be known by two
> indexes?     Why is this copy needed? 

AFAIK, to avoid needing having to keep state bits (2 per entry[1]) for the
static table.

Yeah, the static table is 61 entries, thus the amount of state needed would
be just 16 bytes.


[1] In set and emitted bits.


-Ilari

Received on Monday, 2 June 2014 15:07:58 UTC