Re: Design Issue: Frame Size Items

William Chan (陈智昌) <willchan@chromium.org> Tue, 07 May 2013 19:42 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 2699F21F908B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 12:42:45 -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 asvf16Fy4Sim for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 12:42:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9880421F8D2C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 7 May 2013 12:42:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UZnm7-0002Fu-Sy for ietf-http-wg-dist@listhub.w3.org; Tue, 07 May 2013 19:42:11 +0000
Resent-Date: Tue, 07 May 2013 19:42:11 +0000
Resent-Message-Id: <E1UZnm7-0002Fu-Sy@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1UZnlx-0002En-B3 for ietf-http-wg@listhub.w3.org; Tue, 07 May 2013 19:42:01 +0000
Received: from mail-qc0-f174.google.com ([209.85.216.174]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1UZnlw-0007d7-6x for ietf-http-wg@w3.org; Tue, 07 May 2013 19:42:01 +0000
Received: by mail-qc0-f174.google.com with SMTP id m16so523734qcq.5 for <ietf-http-wg@w3.org>; Tue, 07 May 2013 12:41:34 -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=7N3E9baVnBAwjUfhuG5sLE22zrPp8kW4A3z89ECaGio=; b=TA43TVl1Li8ye6g7xPWjXkDNYSX6tPO+FJqXgbiDH/Nckvu5hx6YNIgi6ebfqwnFUA X5eDk6OKXt0w6Z1ra5xleBRIQelz9gxE4mM5VoaXHEj8b513wrCJHJpXqB2LWDDaCUT1 u8BDko+ST/LSPgQZyOoyWuztGQjqqNA33Q8lgFXVZmE+iOiMY/Dx5bE9FfVCigRvXpgT 7gv7f/PDvjex+cNUBXDDHcI45PVScqYwYD6uWVQNry+3YPzCHaNnUFbZNv3DH9ovPYVr kKSAcZeWjbuj1sHwFzeNM6aTdDbqbum5zlCtqusZxgEyrxZ70P+ZRzK0KZ6/JucX8Ftn vx7A==
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=7N3E9baVnBAwjUfhuG5sLE22zrPp8kW4A3z89ECaGio=; b=NTxklHCA2Bi+Htcabx6eTqAbCKLMrBtxuhAN5VNAYysLc833mnnqq2TFBANcDIAMUy fishgwmtZZrBht0etxN+VW97HNNkHC7UWs2OFpWLTLudRcncgJlfwDq4+w/Q1tSqU6w2 lWUOrak50lCnBQvlC96NKMw1oZzMuamXEYuAo=
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=7N3E9baVnBAwjUfhuG5sLE22zrPp8kW4A3z89ECaGio=; b=GBKPb3Sl3W7r2J1KW3s0OJBSFFBiW750LmL8DXs7HOsPpQuQ/ItIaP27V1v4YYhb9a jSlI8R+0xJQLUuDBak8BXKC4F+it5AF/zdOVTHjV8isgnYL8EMjO1IeuVh9uZW/vHmq9 w8lWjs9H15RcdA3UmzHPX026VWhA5VSWgfr8JLZrcJWIaKCi8HxvXUm4IQ+1/9a9JLm9 y1BkTn3GuXjNiTtGsxICCAbvbCJoFf6oFU71BWXgq3JYuxqMXzELYMI+AqTqc7mrP04x Nkdhe6zeIGRKZNc7h4xV+2+QC3mo9P7cM1hfcLXG5IDjs9S39eMxfNvUBHcgZqgb7qxf rdWQ==
MIME-Version: 1.0
X-Received: by 10.224.65.1 with SMTP id g1mr2755092qai.64.1367955694348; Tue, 07 May 2013 12:41:34 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.180.4 with HTTP; Tue, 7 May 2013 12:41:34 -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 16:41:34 -0300
X-Google-Sender-Auth: j0sjNE1koUXMCHQxXu5w-7d1d8U
Message-ID: <CAA4WUYgfYoZaUDrxnhnpYpJDiMbxY+g3gRFgqnKi0EAj7s9pVw@mail.gmail.com>
From: "William Chan (陈智昌)" <willchan@chromium.org>
To: James M Snell <jasnell@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c2d96e3b37cb04dc2601e9"
X-Gm-Message-State: ALoCoQm+i91drKqW0MvDFb57doZ0G6tBDiOqDarSSpFMT12pDOgI+cOtBKHLAlYz8YO507h/YYhZdq5IqjB4wzahNVsbywCpX0bCSKV0RSrZG2lR03krHB4asRRbSwVW0sZRlsYaDZyvxzsSG8i29e9ERjNa93xGYxo2cuxvvTCIFP98gYMGVj1hzrw+dKr1m92qffUeu4j4
Received-SPF: pass client-ip=209.85.216.174; envelope-from=willchan@google.com; helo=mail-qc0-f174.google.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-2.050, 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: maggie.w3.org 1UZnlw-0007d7-6x 8f057527e6ff9e3f1b1874bba498700c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Frame Size Items
Archived-At: <http://www.w3.org/mid/CAA4WUYgfYoZaUDrxnhnpYpJDiMbxY+g3gRFgqnKi0EAj7s9pVw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17876
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>

Er, I meant 8192 octet max frames.

On Tue, May 7, 2013 at 4:41 PM, 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.
>
>
> On Tue, May 7, 2013 at 12:19 PM, James M Snell <jasnell@gmail.com> wrote:
>
>> 1. There is an existing ed note in the draft indicating that we
>> currently do not have any way of specifying the maximum frame size.
>> There are several possibilities:
>>
>>   a. We decide we don't need to report a maximum frame size.
>>   b. We introduce a MAX_FRAME_SIZE setting for the SETTINGS frame.
>>   c. We add a headers block to the RST_FRAME and GOAWAY frames ;-) ..
>>
>>   I think I prefer option (a) but (b) works too.
>>
>> 2. In the current draft we say that all implementations MUST be
>> capable of supporting frames up to 8192 octets in length. We don't
>> say, however, whether that size includes the 8-byte header or is that
>> just payload octets?
>>
>> - James
>>
>>
>