W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2013

Re: Cookie crumbling

From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Tue, 22 Oct 2013 21:18:10 +0900
Message-ID: <CAPyZ6=K9TwDHdTXEcfuC8eyVRn7H+Z_25nasm=XvGMVfHcTqsQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Roberto Peon <grmocg@gmail.com>
On Tue, Oct 22, 2013 at 7:38 AM, Martin Thomson <martin.thomson@gmail.com>wrote:

> Turns out that splitting the Cookie header into pieces improves
> compression efficiency considerably. It also turns out that we haven't
> done that, despite talking about it, testing code with it, etc...
>
> Just raised an issue to track this:
> https://github.com/http2/http2-spec/issues/292
>
> I think that we've had agreement to do this in the past, but it's been
> suspiciously absent from the compression draft.  Roberto hopes to be
> able to work this part out for the post-Vancouver/88 version of the
> drafts.
>
>
RFC 6265 says the client should sort cookie in a certain way:
http://tools.ietf.org/html/rfc6265#section-5.4

Since the header compressor does not preserve the ordering of the headers,
we lose the cookie ordering.
I'm not really sure how important the cookie ordering today or future
though.

Best regards,
Tatsuhiro Tsujikawa
Received on Tuesday, 22 October 2013 12:18:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:18 UTC