RE: HPACK opcode bit patterns

> -----Original Message-----
> From: David Krauss [mailto:potswa@gmail.com]
> Sent: mercredi 6 août 2014 12:58
> To: HTTP Working Group
> Subject: Re: HPACK opcode bit patterns
> 
> 
> 
> 	I don't have a strong opinion to change the masks, but I am curious if
> the bit pattern selection was deliberate.
> 
> 
> Also, an implementation can treat "without indexing" as "never indexed" and
> use a common code path, since the encodings are identical modulo a don't-
> care bit. Wouldn't be surprised if that was deliberate.

Yes it was deliberate: not only for sharing a common code path, but also from a security perspective, so that the two representations are as close as possible.

Hervé.

Received on Friday, 29 August 2014 16:19:33 UTC