Re: Design Issue: Frame Size Items

Martin Thomson <martin.thomson@gmail.com> Tue, 07 May 2013 20:59 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 6FA3C21F931B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 13:59:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.016
X-Spam-Level:
X-Spam-Status: No, score=-9.016 tagged_above=-999 required=5 tests=[AWL=1.283, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 NetugupM+aXH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 13:59:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0C71021F87D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 7 May 2013 13:59:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UZoyj-0005Rb-PX for ietf-http-wg-dist@listhub.w3.org; Tue, 07 May 2013 20:59:17 +0000
Resent-Date: Tue, 07 May 2013 20:59:17 +0000
Resent-Message-Id: <E1UZoyj-0005Rb-PX@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 1UZoyZ-0005Qr-P4 for ietf-http-wg@listhub.w3.org; Tue, 07 May 2013 20:59:07 +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 1UZoyY-0002uL-NY for ietf-http-wg@w3.org; Tue, 07 May 2013 20:59:07 +0000
Received: by mail-wg0-f48.google.com with SMTP id f11so1096635wgh.3 for <ietf-http-wg@w3.org>; Tue, 07 May 2013 13:58: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:content-transfer-encoding; bh=FXGRiiEH2xE+GlfDIQOdp2rCDL1vQfspyP+aRxaDN+s=; b=DI7aiHd0vbvy377gDEwyzhCwcFpdeV7wdqn23YoTT+bP4zxkYvgDsBkrwnwi+SnKhq bOTr7rHDnxw3U0kAOLpzkU6PM9Utv7tlqDclHZ0iKXpk11dojsFTfSYL762rTet2y2YE ZBDYiTwyD7vuO+nEOIE3myDnc0nUlwQ+q6G2rZchVwnNDj7cAFdQ1NLIVl1VUDku1/kf OZnWpD12MIcsAT4bsoXuNZZA4aA4+kyYt5LkPMGnOEgyqI819B8HdZS1x2LGu73bV44B yAGwH2ZSck4b5rqUdin0xoa5op0KP8Lbo7rAQY+NJQaM4Vi2R9eu7QsPu5FKo4kaWmzz RTYg==
MIME-Version: 1.0
X-Received: by 10.180.183.133 with SMTP id em5mr5814998wic.26.1367960320302; Tue, 07 May 2013 13:58:40 -0700 (PDT)
Received: by 10.194.33.102 with HTTP; Tue, 7 May 2013 13:58:40 -0700 (PDT)
In-Reply-To: <CAA4WUYgwggq4FNweDCEfbsp-fN3yJ8p35jx=fK8Xc5adk+fUVg@mail.gmail.com>
References: <CABP7RbcUDvmYjUjE703UTgOcYTSLBohR7EFw2Rb9u-EDkB7htg@mail.gmail.com> <CAA4WUYgwggq4FNweDCEfbsp-fN3yJ8p35jx=fK8Xc5adk+fUVg@mail.gmail.com>
Date: Tue, 07 May 2013 13:58:40 -0700
Message-ID: <CABkgnnVvhxw_h1QEM3U=pRwKFdZ5GudEiz+UwNf99M5vjMvVLQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "William Chan (陈智昌)" <willchan@chromium.org>
Cc: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
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.639, 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 1UZoyY-0002uL-NY ee718aeb8a06bbfbeff86721693a9539
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Frame Size Items
Archived-At: <http://www.w3.org/mid/CABkgnnVvhxw_h1QEM3U=pRwKFdZ5GudEiz+UwNf99M5vjMvVLQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17880
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 7 May 2013 12:41, William Chan (陈智昌) <willchan@chromium.org> wrote:
> I need to re-read the framing continuation thread
> (http://lists.w3.org/Archives/Public/ietf-http-wg/2013JanMar/0600.html), but
> I thought all this was addressed by that (8192 max frames, with frame
> continuation bit). I see that the spec does not mention frame continuations,
> so maybe we just have to write the text, or perhaps the thread reached a
> different conclusion than I remember.

That discussion never really concluded.

What we have is MUST support 8192, but no upper limit (other than the
hard 65535 byte limit imposed by the frame length field size).

You might infer from this that 8192 is the only safe upper limit,
especially for frames containing headers.  Other frames might trigger
RST_STREAM, but at least you don't lose the session.