Re: Maximum Frame Size

Martin Thomson <martin.thomson@gmail.com> Tue, 05 March 2013 16: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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3027E11E80E9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 5 Mar 2013 08:52:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.732
X-Spam-Level:
X-Spam-Status: No, score=-6.732 tagged_above=-999 required=5 tests=[AWL=3.867, BAYES_00=-2.599, 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 FTfclMn6ie7P for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 5 Mar 2013 08:52:48 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E33521F8896 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 5 Mar 2013 08:52:48 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UCv4U-0002Ar-BX for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Mar 2013 16:50:34 +0000
Resent-Date: Tue, 05 Mar 2013 16:50:34 +0000
Resent-Message-Id: <E1UCv4U-0002Ar-BX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UCv4E-00029o-UF for ietf-http-wg@listhub.w3.org; Tue, 05 Mar 2013 16:50:18 +0000
Received: from mail-wg0-f44.google.com ([74.125.82.44]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UCv4A-00030G-3Q for ietf-http-wg@w3.org; Tue, 05 Mar 2013 16:50:18 +0000
Received: by mail-wg0-f44.google.com with SMTP id dr12so6071867wgb.35 for <ietf-http-wg@w3.org>; Tue, 05 Mar 2013 08:49:48 -0800 (PST)
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=X2t4GK4w2dejQQF6oXqQ8fbSimzFl7RNkFfg5vp5u5Y=; b=nb8ViVqnkkytYWD98U3Lj5OrvbKAWtBSKx6PgTy0q2+vYWNXCeLcGIniMftWMn2wYv CBzLvF8+fZ3QfireXLDu4W+lExHwYpCuShxnvicnGk+sZM+MpAKHp7gdNx5BhoyleaGf hYgbvHgqn2gTILDvsnzITegqud8Y+V5H+IVG7jUgejBYcRZMQbTM484nVmQS/QDdKpTz rHyVGEeKXDz/jZm0jIj8w753L3pn3ASXzIxev8bgX7tC773i5//6uQpF0u+pmTuvd2xn 67lPEYiS7aSaC1shodyys69M16yGRYCIZmV5iISMepBHeWUoI4v/AONznJYsTpWrK4d7 ZYeg==
MIME-Version: 1.0
X-Received: by 10.180.77.9 with SMTP id o9mr20362945wiw.16.1362502187915; Tue, 05 Mar 2013 08:49:47 -0800 (PST)
Received: by 10.194.5.135 with HTTP; Tue, 5 Mar 2013 08:49:47 -0800 (PST)
In-Reply-To: <CAOdDvNo1qx0dSYt4OzSb_p-X8-smNxoe1M59rKMR90AXDAH5uA@mail.gmail.com>
References: <CABkgnnUcX_3M6uxp5E_f-PRa62RH8ekGsE0XR50z4M9bj=x9Ow@mail.gmail.com> <CAOdDvNo1qx0dSYt4OzSb_p-X8-smNxoe1M59rKMR90AXDAH5uA@mail.gmail.com>
Date: Tue, 05 Mar 2013 08:49:47 -0800
Message-ID: <CABkgnnUvM+BrsVsCmLHTDrpporz2LSX1T=4jwmq3DoA1e0CKmg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.82.44; envelope-from=martin.thomson@gmail.com; helo=mail-wg0-f44.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.664, 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: lisa.w3.org 1UCv4A-00030G-3Q d35a5e974b148f3a093fe26fbbf80e72
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Maximum Frame Size
Archived-At: <http://www.w3.org/mid/CABkgnnUvM+BrsVsCmLHTDrpporz2LSX1T=4jwmq3DoA1e0CKmg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16972
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 4 March 2013 18:05, Patrick McManus <pmcmanus@mozilla.com> wrote:
> 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.

What of it?

1. Reduce the maximum to be the minimum that must be supported.  This
would allow us to remove error cases and negotiation.  Patrick is
suggesting 32K, and of course we can negotiate something else (later).

2. Add settings to signal the maximum size, minimum remains 8192.
Can't send more than 8192 until settings indicate larger.  Remove the
error message.

3. Leave as is with the error message.

The error message does makes things brittle, so removing it would be
good.  A too-large frame that modifies session state will force the
session to be dropped entirely.