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

Amos Jeffries <squid3@treenet.co.nz> Wed, 15 October 2014 05:23 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 A20081A024C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Oct 2014 22:23:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.012
X-Spam-Level:
X-Spam-Status: No, score=-5.012 tagged_above=-999 required=5 tests=[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 plnpYNkILYxw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Oct 2014 22:23:17 -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 9CCF31A0276 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 Oct 2014 22:23:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XeH0t-0001C8-QX for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Oct 2014 05:20:43 +0000
Resent-Date: Wed, 15 Oct 2014 05:20:43 +0000
Resent-Message-Id: <E1XeH0t-0001C8-QX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1XeH0k-0001BM-2O for ietf-http-wg@listhub.w3.org; Wed, 15 Oct 2014 05:20:34 +0000
Received: from 121-99-228-82.static.orcon.net.nz ([121.99.228.82] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1XeH0j-0005RI-25 for ietf-http-wg@w3.org; Wed, 15 Oct 2014 05:20:34 +0000
Received: from [192.168.2.97] (unknown [203.184.52.78]) by treenet.co.nz (Postfix) with ESMTP id B6074E7054 for <ietf-http-wg@w3.org>; Wed, 15 Oct 2014 18:20:03 +1300 (NZDT)
Message-ID: <543E0400.8080009@treenet.co.nz>
Date: Wed, 15 Oct 2014 18:20:00 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CA+pLO_jkN67HLT7oup+FcYVY+RZ7ckhpY2gGy=TAsr2UUMnVVA@mail.gmail.com> <987FB86A-EF8B-4CD1-A9A7-52A9163E8CB3@mnot.net> <EBB30C88-7EBD-400F-9591-B646B4D3687B@mnot.net> <CAP+FsNeJU6aciA+UV3sQ318e4=fXxv9zZbsDZ1jXmYstz6XwaQ@mail.gmail.com> <E465C1C7-20DF-4F78-9936-9C914042920A@mnot.net> <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>
In-Reply-To: <CAHzwyDuuN=-DyGiWAfttwq7O_zUGOE=7kVf5J=qu6i_-A9ezfg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-3.331, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001
X-W3C-Scan-Sig: lisa.w3.org 1XeH0j-0005RI-25 bf57b8aa130ca132966c9b903d974de8
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/543E0400.8080009@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27610
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>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/10/2014 6:11 p.m., Adrian Cole wrote:
>> If an argument can be made that 2 byte encodings are still too
>> large for dynamic headers, then instead of flipping back let's
>> investigate how the 1 byte slots can be shared between static and
>> dynamic.
> FWIW, I'm happy to implement an alternate approach, if one comes
> out. Thanks, Greg.
> 

Alternative approach has already been proposed. That the first bit of
the index is used as a flag to indicate static or dynamic table for
the remaning 7+ bits.

That not only puts both on an even bias, but expands the range of
values getting 1-byte encodings in either table and removes the need
for the math complexity people are disliking.

1 stone, 3 birds.


(The paranoid in me can only think that it is being repeatedly
rejected despite evidence of its usefulness because of who proposed it.)

Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUPgQAAAoJELJo5wb/XPRjtVsH/Aunbtxmx6vWnGn33v40MUD0
Kp2bLBxiFVN0INPuqTKaz33TMPRh3FoaPfQ5S+yThBNq2/Qx/KWmtnT/kmXGEHBC
G8O6xaSMq9zyrApURI0yyoxoJDqEhBTewPcVpfUi+iae+PeDfg1HjoxxgCGb/ZFJ
quWfjDafH/8RyrvWSkeF4CS+eJ8GQCwPd0l3OrFkmwlXtiqT5Ntpwq/kPu/q9OhB
jCO4pt15peOdC3HxLR8+c6jb9BhNd0hEg57FcG3IXptcVBIdmV2+/KF/qjXjG4mF
/69jSgPfk76MPTm/F+/rf5XVFD3oWvTGUce0Fz6tspQHJXx8/ebBxUakQ3XB79I=
=Kw8N
-----END PGP SIGNATURE-----