Re: Straw Poll: Restore Header Table and Static Table Indices

Willy Tarreau <w@1wt.eu> Tue, 21 October 2014 10:31 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF1EE1A0372 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Oct 2014 03:31:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZvVTUvpu1dYD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Oct 2014 03:31:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65BC21A026A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Oct 2014 03:31:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XgWgG-0001RC-Vt for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Oct 2014 10:28:45 +0000
Resent-Date: Tue, 21 Oct 2014 10:28:44 +0000
Resent-Message-Id: <E1XgWgG-0001RC-Vt@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1XgWg9-0001PI-Bj for ietf-http-wg@listhub.w3.org; Tue, 21 Oct 2014 10:28:37 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1XgWg8-0001F2-Dm for ietf-http-wg@w3.org; Tue, 21 Oct 2014 10:28:37 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id s9LAS0VW031170; Tue, 21 Oct 2014 12:28:00 +0200
Date: Tue, 21 Oct 2014 12:28:00 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Julian Reschke <julian.reschke@gmx.de>, Roberto Peon <grmocg@gmail.com>, Mark Nottingham <mnot@mnot.net>, RUELLAN Herve <Herve.Ruellan@crf.canon.fr>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20141021102800.GH30397@1wt.eu>
References: <34008D72-5800-412E-A276-81C6C7BFA9E2@mnot.net> <20141020165353.GA25743@1wt.eu> <8F120E2F-704E-44CB-ACF2-C743B870B2B6@mnot.net> <CAP+FsNdOHVj=YTE35Vj7mbED0OKghd-mpnFZSMcZNBM3JybJDg@mail.gmail.com> <20141021092505.GA30397@1wt.eu> <52739.1413883975@critter.freebsd.dk> <20141021094425.GC30397@1wt.eu> <54462F3F.30502@gmx.de> <20141021102016.GG30397@1wt.eu> <71724.1413886999@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <71724.1413886999@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-2.338, RP_MATCHES_RCVD=-1.43, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1XgWg8-0001F2-Dm e874da788859c2803f6a9dce603fe736
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Straw Poll: Restore Header Table and Static Table Indices
Archived-At: <http://www.w3.org/mid/20141021102800.GH30397@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27657
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Tue, Oct 21, 2014 at 10:23:19AM +0000, Poul-Henning Kamp wrote:
> --------
> In message <20141021102016.GG30397@1wt.eu>, Willy Tarreau writes:
> 
> >We can have an encoding starting with something
> >impossible in text mode (eg: LF byte) to mark [...]
> 
> I would simply put two "Date:" entries in the static table, one
> for text-encoded and one for number-encoded.

That would not be compatible with dynamic indexing. I suspect that
a number of applications emit many very similar dates in responses
(when pages are dynamically generated), resulting in exact same
values between the application and the frontend (lb/cache/etc).
Given that you have much more experience than me looking at Date
headers, don't you think that can be a loss ? Also it would require
specific handling from the encoder to know that they must not index
this specific header. We already have the set-cookie header which is
boring, better try not to have another one.

Just my few cents
willy