Re: Proposal: New Frame Size Text (was: Re: Design Issue: Frame Size Items)

Martin Thomson <martin.thomson@gmail.com> Sat, 11 May 2013 03:03 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEB9021F8F11 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 May 2013 20:03:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.624
X-Spam-Level:
X-Spam-Status: No, score=-7.624 tagged_above=-999 required=5 tests=[AWL=-2.025, BAYES_00=-2.599, GB_SUMOF=5, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JX9o4LMhQpRv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 May 2013 20:03:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 762CE21F86C1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 May 2013 20:03:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ub04w-0000UK-U3 for ietf-http-wg-dist@listhub.w3.org; Sat, 11 May 2013 03:02:34 +0000
Resent-Date: Sat, 11 May 2013 03:02:34 +0000
Resent-Message-Id: <E1Ub04w-0000UK-U3@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Ub04g-0000Ta-V6 for ietf-http-wg@listhub.w3.org; Sat, 11 May 2013 03:02:18 +0000
Received: from mail-wg0-f48.google.com ([74.125.82.48]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Ub04f-0003AW-U8 for ietf-http-wg@w3.org; Sat, 11 May 2013 03:02:18 +0000
Received: by mail-wg0-f48.google.com with SMTP id f11so4519331wgh.3 for <ietf-http-wg@w3.org>; Fri, 10 May 2013 20:01:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=eoCo1sIgraJ/DCD/ybdVbfYegD71GfR59+91eM36BMY=; b=yrk8vltwhDmWTwzPW0nQObpHoMlY7zZzRtnUWibKFLZmKJFynQETWIgiSenOlZ/ThO BQMKRgWZ8KNrp1BpdULY1ubsGjwS2kqGFrlb6f+SXHz/phTkXobfojyHk7DZLd6/CKQC /XeSDM4KCqNpszZhSV1WTjol5hSNdhtC88e12XPhXGFzMme4gH1chFSiuIzH9VUvsg9Q B7VncHSI6J6lo22pBGo3NP7SGKxuqZWCRUXebrNCsbBtBkpjdoSoV5Ip3yDcQbgWAGg5 HK3izbMlswAd9sfZUnDSytdu86VVdNFauqHX6fDIU/IglwgCIdzMKrU9m47XubWLwo67 IqbQ==
MIME-Version: 1.0
X-Received: by 10.180.83.199 with SMTP id s7mr7240079wiy.19.1368241311853; Fri, 10 May 2013 20:01:51 -0700 (PDT)
Received: by 10.194.33.102 with HTTP; Fri, 10 May 2013 20:01:51 -0700 (PDT)
In-Reply-To: <CAP+FsNfHEUsdqQaAg8-g6vLb=AikHQG4Y5BywJ2w1FQEon+LrQ@mail.gmail.com>
References: <CABP7RbcfTjN5QFFuGm-P-rQMpAR3FGSC58WCy3qKn+29YCjn+w@mail.gmail.com> <CAA4WUYiwNSzvrY1LF_Sex_82TSDwMbTvYqo7LyKfBAOu0j4pfQ@mail.gmail.com> <CABP7RbdqnH0JK-UaMiaR5rLvZo8txywEcXXSUXa_y95hrLC5yA@mail.gmail.com> <CABP7Rbd-VfTFYurZ-JEKjHKOeKvZCKoYLGMXf+0mi-_wbdKYqA@mail.gmail.com> <CAA4WUYgfu=rcji-bdxNPsE9KCE4T67+vN9b0iojnvycx5R-StA@mail.gmail.com> <CABkgnnX=AemYGrBzWGX1VEUgKKrk+hR6YV0jg9qVMSdPiimBAA@mail.gmail.com> <CAFA1p16FHaSf7b1=mhe_Cb=ZqV1m0HVwkQNdW+pkJ0OkA9L-5A@mail.gmail.com> <CAP+FsNdifoF3aqQLB-EZjYqL3O2_uNEmNJ_+zAktu9zapKmT7w@mail.gmail.com> <CABP7RbcF3VXuhvP5StN9hHVj4K-2WMvBr37ur3iHmH-=2WAbHw@mail.gmail.com> <CAA4WUYgFccqU5-65mFPF_3i4OOROZQCdS+tEUeDMk4HP4JJX5Q@mail.gmail.com> <CABP7RbcQMEhu9ciuTQoR1dRw3UiUB=E_AeMjaNrhFgMPmmi+EQ@mail.gmail.com> <CAA4WUYjFgJ28O5Jb58a5eodJMWe+CSe18Ow1wpETWJcjmedXRQ@mail.gmail.com> <CABP7RbdnnCiDSDt5CwPfRYx-BGgz8eoMUDa2J4xaWztHkCbe+w@mail.gmail.com> <CAP+FsNfHEUsdqQaAg8-g6vLb=AikHQG4Y5BywJ2w1FQEon+LrQ@mail.gmail.com>
Date: Fri, 10 May 2013 20:01:51 -0700
Message-ID: <CABkgnnXVMnL=i2p_mDzcWLP0TNpV_wp7XhsuOTA+Tayv1aBv3Q@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: James M Snell <jasnell@gmail.com>, =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Hasan Khalil <hkhalil@google.com>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=74.125.82.48; envelope-from=martin.thomson@gmail.com; helo=mail-wg0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.644, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ub04f-0003AW-U8 4272f19d33d861e700af783f94a3afde
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposal: New Frame Size Text (was: Re: Design Issue: Frame Size Items)
Archived-At: <http://www.w3.org/mid/CABkgnnXVMnL=i2p_mDzcWLP0TNpV_wp7XhsuOTA+Tayv1aBv3Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17946
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 10 May 2013 18:30, Roberto Peon <grmocg@gmail.com> wrote:
> The memory needed for header interpretation will, for a decent
> implementation, be at worst the sum of the size of the compression context
> and the size of the receive buffer-- it will not expand once decompressed
> unless a lot of useless copying is being done.

I was going to say the same thing until I realized that most APIs will
be forced to decode Huffman-encoded strings to present.  Some
implementations might avoid this entirely, others might defer
decompression, or something along those lines, but there is probably
going to be at least some exposure to the decompressed data.