Re: Design Issue: Frame Size Items

William Chan (陈智昌) <willchan@chromium.org> Tue, 07 May 2013 21:19 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 5F0E521F905F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 14:19:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level:
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 fliQ9ou+sKlv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 14:19:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B04FD21F90AF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 7 May 2013 14:19:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UZpHM-0008Vh-I5 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 May 2013 21:18:32 +0000
Resent-Date: Tue, 07 May 2013 21:18:32 +0000
Resent-Message-Id: <E1UZpHM-0008Vh-I5@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1UZpHB-0008U2-LT for ietf-http-wg@listhub.w3.org; Tue, 07 May 2013 21:18:21 +0000
Received: from mail-qe0-f47.google.com ([209.85.128.47]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1UZpH9-0007Yp-IA for ietf-http-wg@w3.org; Tue, 07 May 2013 21:18:21 +0000
Received: by mail-qe0-f47.google.com with SMTP id w7so642144qeb.20 for <ietf-http-wg@w3.org>; Tue, 07 May 2013 14:17:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.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=bO5xmbQrDZYHuMkwFpyteuo71T+d34CayMo4p59cRjs=; b=FPJa13HYYAvuMrOgvralMdC9dYKe8q/KtQG99X5Aax4j+hiOhBk/wT+PWypBdwVpWO IeP3D+meq99EGm5Poy6Ny02iiKtEB0I4qAyPdO1kS2D21rzs3x+JvRIkbW75b8iPPrBO u+0SZ9NZxMbqJr6h+VTpu4HqC8PvhtsHM4Erg8Q5R2TTKLnAI6Tcry016DSmw6I5/j/Z 3/LiCw8OlGjl7n/OmaHfhJeJclJ1XKX3J3L+mrGxR51ZrvOmMsuJbIn1rNSYF2Uygzvs /xBnw8nwiuM4avS7VflGCMOpztNUXjrAWXrIKLaXtk3amBnIQEAWNgltfhg5n+oudi6U uTog==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=bO5xmbQrDZYHuMkwFpyteuo71T+d34CayMo4p59cRjs=; b=HP97/UYq1P4mDjklf6n0vVsC+1CblHrJ0KbHFekTU3i65A3pXb5PHuDKl4NMLEmM6V eE12+D8OQNs/1BM5fKh3EGmX+rg9BXdv0goa2YYXYnq8isT5JTbiwV9/15wF1Ag8eNzp O0LwaZGryEytmux5ZLGPHWE2f0qU/6aPPAlPw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.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 :x-gm-message-state; bh=bO5xmbQrDZYHuMkwFpyteuo71T+d34CayMo4p59cRjs=; b=pMKxlR9MqmtM6DLts9OM05K+4kEUQ5Faa6Ab7TZbEGjnFIGArH5bQqnUReYth7duzh KTmJnlJ12Ao5075VZ36f1rLsVNkksL2GzsdVQQ5Mel58bd+1RWAM3VuN1G9yb2T+fsfg yXJ2nz4wgdO22qSr3pD4Px2VdB2jw+aJOET8q2A4plIYaGbI8u5QBiP1k4B4gI3CaDXy DlZxRh+BQTfhkcEjdWCUR0b4LXOt9/OG6fRU0WeWhPKi/Fied+FfZN5VSubPLxAMTj+r HOniwQxH/wNR8KR6bWynWZH7TbOwsJ5TVCQmwFNt2yJt7lSdV5TtJAM9BQKN3JYV/sRU sIsg==
MIME-Version: 1.0
X-Received: by 10.49.128.225 with SMTP id nr1mr3149498qeb.22.1367961473785; Tue, 07 May 2013 14:17:53 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.180.4 with HTTP; Tue, 7 May 2013 14:17:53 -0700 (PDT)
In-Reply-To: <CABkgnnVvhxw_h1QEM3U=pRwKFdZ5GudEiz+UwNf99M5vjMvVLQ@mail.gmail.com>
References: <CABP7RbcUDvmYjUjE703UTgOcYTSLBohR7EFw2Rb9u-EDkB7htg@mail.gmail.com> <CAA4WUYgwggq4FNweDCEfbsp-fN3yJ8p35jx=fK8Xc5adk+fUVg@mail.gmail.com> <CABkgnnVvhxw_h1QEM3U=pRwKFdZ5GudEiz+UwNf99M5vjMvVLQ@mail.gmail.com>
Date: Tue, 07 May 2013 18:17:53 -0300
X-Google-Sender-Auth: u5w0cZN1JSdKH-ZZwFBMBFW8Ii8
Message-ID: <CAA4WUYgKnYhgvArS7FSWqRSf4MfhRbymCiGOC3E21E6R32KWCQ@mail.gmail.com>
From: "William Chan (陈智昌)" <willchan@chromium.org>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="047d7b6d9e6eb68e3004dc2759fe"
X-Gm-Message-State: ALoCoQnykyldTTc2DPiRwUSv9LGvfFBSHZU6Pwi+lXrNU0zwWFVmGoxytTaI2+UBxmgnwlCgp7n7rFIFxd79Vv6i68XLSlxJine+UjT2LWwNVt06B3NgjfEv6+SE20kqJO95RxHrMzbzZmZsh9/BA552PZY92AGglYBufbogafTRfF/7bj+MiRaGcIrHdqUeWS3Pr6Dc9Uhu
Received-SPF: pass client-ip=209.85.128.47; envelope-from=willchan@google.com; helo=mail-qe0-f47.google.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-2.066, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.324, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UZpH9-0007Yp-IA 23558565b3cc174cb2802e72d6ddbba0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Frame Size Items
Archived-At: <http://www.w3.org/mid/CAA4WUYgKnYhgvArS7FSWqRSf4MfhRbymCiGOC3E21E6R32KWCQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17881
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 Tue, May 7, 2013 at 5:58 PM, Martin Thomson <martin.thomson@gmail.com>wrote:

> 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.
>

OK, I think we should conclude that thread :) I believe that resolving that
thread will resolve this issue.


>
> 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.
>

Yep, I indeed did infer that, since we don't (at least, that I know of)
have a safe mechanism for not processing frames that affect session state.