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

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Mon, 20 October 2014 19:52 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 2D1A71ACD53 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Oct 2014 12:52:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.912
X-Spam-Level:
X-Spam-Status: No, score=-5.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_SUMOF=1, 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 fxeKUT61QMvq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Oct 2014 12:52:51 -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 7A4391ACCDE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Oct 2014 12:52:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XgIxG-0001Bz-Dx for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Oct 2014 19:49:22 +0000
Resent-Date: Mon, 20 Oct 2014 19:49:22 +0000
Resent-Message-Id: <E1XgIxG-0001Bz-Dx@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1XgIxB-0001BG-3c for ietf-http-wg@listhub.w3.org; Mon, 20 Oct 2014 19:49:17 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1XgIxA-0000Wg-9y for ietf-http-wg@w3.org; Mon, 20 Oct 2014 19:49:17 +0000
Received: from critter.freebsd.dk (unknown [192.168.60.3]) by phk.freebsd.dk (Postfix) with ESMTP id D75CE3BD2B; Mon, 20 Oct 2014 19:48:53 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.9/8.14.9) with ESMTP id s9KJmoxE038092; Mon, 20 Oct 2014 19:48:50 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: 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>
In-reply-to: <20141020165353.GA25743@1wt.eu>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <20141013012326.GD13217@1wt.eu> <CAP+FsNci+YbQ9fP9LiJ1BBUSDryWOqi4A4YsKyORskY7pK0Fmg@mail.gmail.com> <CAHzwyDuAeMJe_BW0kZkLUHRn6xAN8LO_uno_ZL0TmCLgSaYbkg@mail.gmail.com> <CAH_y2NHhDTDtM4+DvWAf66GiO7of4H+ouMhxzseGODhfCSchXg@mail.gmail.com> <CAHzwyDuuN=-DyGiWAfttwq7O_zUGOE=7kVf5J=qu6i_-A9ezfg@mail.gmail.com> <543E0400.8080009@treenet.co.nz> <20141015201540.GB980@1wt.eu> <6C71876BDCCD01488E70A2399529D5E53BF5F842@ADELE.crf.canon.fr> <20141016091626.GC3079@1wt.eu> <34008D72-5800-412E-A276-81C6C7BFA9E2@mnot.net> <20141020165353.GA25743@1wt.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <38090.1413834530.1@critter.freebsd.dk>
Date: Mon, 20 Oct 2014 19:48:50 +0000
Message-ID: <38091.1413834530@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.701, RP_MATCHES_RCVD=-1.427
X-W3C-Scan-Sig: lisa.w3.org 1XgIxA-0000Wg-9y 380372d7f92197f9c2ca57c990d33c10
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/38091.1413834530@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27636
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>

--------
In message <20141020165353.GA25743@1wt.eu>, Willy Tarreau writes:


+1

I like this, it's nice and orthogonal.


>-   Indices between 1 and the length of the static table (inclusive)
>-   refer to elements in the static table (see Section 2.3.1).
>-
>+   Both the static and the dynamic tables are indexed starting at 1.
>    Indices strictly greater than the length of the static table refer to
>    elements in the dynamic table (see Section 2.3.2).  The length of the
>    static table is subtracted to find the index into the dynamic table.

These three lines left in conflict somewhat with the four lines you
add below.

> 
>-   Indices strictly greater than the sum of the lengths of both tables
>-   MUST be treated as a decoding error.
>+   Static table indices strictly greater than the length of the table as
>+   defined in Appendix A MUST be treated as a decoding error. Dynamic table
>+   indices strictly greater than the length of the dynamic table MUST be
>+   treated as a decoding error.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.