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

Roberto Peon <grmocg@gmail.com> Fri, 10 May 2013 20:17 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 8B96D21F925A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 May 2013 13:17:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.568
X-Spam-Level:
X-Spam-Status: No, score=-11.568 tagged_above=-999 required=5 tests=[AWL=1.030, BAYES_00=-2.599, GB_I_INVITATION=-2, HTML_MESSAGE=0.001, 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 bYg6LuZOTtk6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 May 2013 13:17:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2BC7321F91CA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 May 2013 13:17: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 1Uatjv-00046N-6u for ietf-http-wg-dist@listhub.w3.org; Fri, 10 May 2013 20:16:27 +0000
Resent-Date: Fri, 10 May 2013 20:16:27 +0000
Resent-Message-Id: <E1Uatjv-00046N-6u@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Uatjk-00044v-OW for ietf-http-wg@listhub.w3.org; Fri, 10 May 2013 20:16:16 +0000
Received: from mail-oa0-f46.google.com ([209.85.219.46]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Uatja-0005do-TY for ietf-http-wg@w3.org; Fri, 10 May 2013 20:16:16 +0000
Received: by mail-oa0-f46.google.com with SMTP id h2so5432690oag.5 for <ietf-http-wg@w3.org>; Fri, 10 May 2013 13:15:40 -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=TQDC2Q0m7BZlb38GnTis38P4d5trVlyWvQgPa5OUlm0=; b=qivjqavpnuhoX88fWCn4nDVfxctqNnc4H/CA89FEL6ZcyUchZN+6/ELXDpm2exjZ19 S4YbkxbRurG2GnOxthSwgmUH/thzTBuEGmOqlrZ97uPs0MsYjbLWSj+Gchsq4UHk6TK4 swKbnfS0xkiyxyywpzx9DqhEd34Wo76PxYAaoC7BlNaDD5Arsx+GlPVOt07ede5N5uKO sbGS0aXh/7XiMDc70d4eKo8TskwSe+8ZX31MIvWSFuyuay3kXUycnYLyWY0L3kPk7MD5 Ojz9RV0TMbLgrieeDLu5PegJDMcnRmXe37vRdB/KL6ccEFQ1IJsZ0Vz6q405tv61Uvk3 bd5w==
MIME-Version: 1.0
X-Received: by 10.60.83.103 with SMTP id p7mr7701041oey.130.1368216940838; Fri, 10 May 2013 13:15:40 -0700 (PDT)
Received: by 10.76.130.139 with HTTP; Fri, 10 May 2013 13:15:40 -0700 (PDT)
Received: by 10.76.130.139 with HTTP; Fri, 10 May 2013 13:15:40 -0700 (PDT)
In-Reply-To: <27972.1368214105@critter.freebsd.dk>
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> <CABkgnnWpKqAzQj1NMAF1rWKuzoErHiPKenJUgBvNzpPCx4xfeA@mail.gmail.com> <27972.1368214105@critter.freebsd.dk>
Date: Fri, 10 May 2013 13:15:40 -0700
Message-ID: <CAP+FsNd2L3m8i+eTZ+=uHyEaaH08Z0KaTFP2H24RK_avLkenUw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Will Chan <willchan@chromium.org>, James Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Hasan Khalil <hkhalil@google.com>, Martin Thomson <martin.thomson@gmail.com>
Content-Type: multipart/alternative; boundary="089e01177507bc0a3d04dc62d41b"
Received-SPF: pass client-ip=209.85.219.46; envelope-from=grmocg@gmail.com; helo=mail-oa0-f46.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.676, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Uatja-0005do-TY 04273fd9a8dac38257af3ea3d6208146
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/CAP+FsNd2L3m8i+eTZ+=uHyEaaH08Z0KaTFP2H24RK_avLkenUw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17937
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>

This (lack of a continuation bit) would make it impossible to communicate
large headers, ones which are successfully transmitted today.

The alternative would be to have significantly larger frame sizes which is
in no way better from a memory size or buffer management perspective.

With the proposed default of 4k (which endpoints can extend to larger sized
after one RTT), it is likely that we will need to use the continuation bit
often enough that it should not suffer from the backup generator problem.
-=R
On May 10, 2013 12:28 PM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <
> CABkgnnWpKqAzQj1NMAF1rWKuzoErHiPKenJUgBvNzpPCx4xfeA@mail.gmail.com>
> , Martin Thomson writes:
> >On 10 May 2013 10:58, Hasan Khalil <hkhalil@google.com> wrote:
>
> >Yeah, but perhaps you can reserve that hatred for the requests (and
> >responses) that have so many headers that they are larger than 64K.
> >Compressed.  :)
>
> I think we should not have a continuation bit:  It will be seldomly
> used, goes directly to the heart of memory management, it will
> practically be an invitation for DoS attempts.
>
> --
> 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.
>