Re: Maximum Frame Size

Patrick McManus <pmcmanus@mozilla.com> Tue, 05 March 2013 02:08 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 7E29F21F87CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Mar 2013 18:08:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level:
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Ychxh4gttalO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Mar 2013 18:08:14 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E098321F87C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 4 Mar 2013 18:08:13 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UChGm-00062M-88 for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Mar 2013 02:06:20 +0000
Resent-Date: Tue, 05 Mar 2013 02:06:20 +0000
Resent-Message-Id: <E1UChGm-00062M-88@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1UChGa-00061c-P3 for ietf-http-wg@listhub.w3.org; Tue, 05 Mar 2013 02:06:08 +0000
Received: from mail-oa0-f44.google.com ([209.85.219.44]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1UChGZ-00052L-Pn for ietf-http-wg@w3.org; Tue, 05 Mar 2013 02:06:08 +0000
Received: by mail-oa0-f44.google.com with SMTP id h1so10188760oag.17 for <ietf-http-wg@w3.org>; Mon, 04 Mar 2013 18:05:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=2vgRU2lHK2ERltqPjnqY/DqBS8Te+4g1TiIb16/gaAg=; b=XpYkxehDLQLNa8tRozvAJD99eNUMjKbyXl7bnVSzgoBs3jmdbCCzcH+mdYuJtXuxQ2 KP+x456Sv01agI9Ef/P//43VwAO6ywHQ58Jw5lCxB6ATbPhcp4jTXeGQ+nQmOt2dVfof fC4y1ynL4dTN9etcjrej8Sah6U8tFet7Li14n/cZukAtvtuwuFppLAc9Udyo+mkJTTKN 8B13E6fCZJa+MuTNW/SC6WE8I7gEp4OhEwwtPyJGlv2VGjA9kn/aX4cxO0/kU+biClGZ 2NSJ8xWKRu+KZDmapAXKe/94C4AFugDHxbQox9U1WtCC0TpdzPEG/6gGZjm6CQWgl9RC fllA==
MIME-Version: 1.0
X-Received: by 10.60.30.231 with SMTP id v7mr17631191oeh.118.1362449136863; Mon, 04 Mar 2013 18:05:36 -0800 (PST)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.27.106 with HTTP; Mon, 4 Mar 2013 18:05:36 -0800 (PST)
In-Reply-To: <CABkgnnUcX_3M6uxp5E_f-PRa62RH8ekGsE0XR50z4M9bj=x9Ow@mail.gmail.com>
References: <CABkgnnUcX_3M6uxp5E_f-PRa62RH8ekGsE0XR50z4M9bj=x9Ow@mail.gmail.com>
Date: Mon, 04 Mar 2013 21:05:36 -0500
X-Google-Sender-Auth: xxHjagN7mw7pydnR2Xyl8kwUGfM
Message-ID: <CAOdDvNo1qx0dSYt4OzSb_p-X8-smNxoe1M59rKMR90AXDAH5uA@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="ISO-8859-1"
Received-SPF: pass client-ip=209.85.219.44; envelope-from=patrick.ducksong@gmail.com; helo=mail-oa0-f44.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UChGZ-00052L-Pn d329fdee73cce1cee4998de99f4b2b39
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Maximum Frame Size
Archived-At: <http://www.w3.org/mid/CAOdDvNo1qx0dSYt4OzSb_p-X8-smNxoe1M59rKMR90AXDAH5uA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16971
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>

Its very tempting to just get rid of the path discovery signaling and
retry baggage and make the max frame size also the minimum supported
read frame size. When spdy had the max frame size at 31 bits that
wasn't doable - but at 16 bits I think it is. If the group thinks 64KB
is too big but 32KB is not, (for a minimum) then I'd rather reduce the
max frame size than introduce a whole bunch of mechanisms to deal with
pmtud-prime.


On Mon, Mar 4, 2013 at 6:20 PM, Martin Thomson <martin.thomson@gmail.com> wrote:
> From: https://github.com/http2/http2-spec/issues/28
>
> HTTP/2.0 requires that implementations support a minimum frame size of
> 8192 bytes. The draft does not specify how an implementation is
> expected to learn that its peer has limited frame sizes other than by
> trial and error. Using RST_STREAM causes the error to be discovered
> after the problem has been encountered.
>
> It's also not possible to use RST_STREAM to reject a too-large frame
> that is not bound to a specific stream.
>
> This could be indicated in the SETTINGS frame.
>
> --
>
> Any objections to adding a new setting for maximum frame size (minimum
> value of 8192 bytes).
>