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

RE: #255 eviction for substitution

From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Date: Wed, 9 Oct 2013 16:13:00 +0000
To: Mike Bishop <Michael.Bishop@microsoft.com>, Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <6C71876BDCCD01488E70A2399529D5E52F4F5E6D@ADELE.crf.canon.fr>
I understand that some implementations will have a static header table that should not exceed its maximum size, even temporally. That's why I put the "logically" : that makes the spec easier to write and understand, but it's fully possible to optimize the header table handling. For example, an implementation may first make room available for the new entry, then add it to the table, keeping the table size bounded.

As for explicit deletions, I did some quick testing and this has a cost compaction-wise.

Hervé.
________________________________________
From: Mike Bishop [Michael.Bishop@microsoft.com]
Sent: Monday, October 07, 2013 23:30
To: Martin Thomson; HTTP Working Group
Subject: RE: #255 eviction for substitution

Yes, except that you've possibly caused other headers to be dropped as well.  The problem with this is that the header table will, by definition, exceed the maximum memory allowed by the size of that header, which may be large.

We could also approach simplification from the other direction, by requiring drops to be explicit.  That eliminates a lot of the issues and corner cases of both sides tracking the size and trying to synchronize their implicit drops.  It also retains any benefit of substitution by allowing a drop-then-append if desired.  There's obviously a cost -- in the most naïve case, you add one or more bytes to express a drop before any new entry.  (I haven't prototyped this to see what the cost works out to be.)

It might be productive to take some time Wednesday or Thursday to gather all the compressor issues and see if we can hash out a sensible resolution.

-----Original Message-----
From: Martin Thomson [mailto:martin.thomson@gmail.com]
Sent: Monday, October 7, 2013 1:50 PM
To: HTTP Working Group
Subject: #255 eviction for substitution

Herve proposes that we simplify substitution; as opposed to the suggestion to remove it (#250).

What would be the effect of having the substituted header being dropped?  Equivalent to a header that doesn't modify the table?
Received on Wednesday, 9 October 2013 16:13:58 UTC

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