Re: Design Issue: Frame Size Items

Martin Thomson <martin.thomson@gmail.com> Tue, 07 May 2013 18: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 0A02E21F92B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 11:08:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[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 KabS67iuobZT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 11:08:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D5D9D21F93DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 7 May 2013 11:08:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UZmJ9-00040t-7L for ietf-http-wg-dist@listhub.w3.org; Tue, 07 May 2013 18:08:11 +0000
Resent-Date: Tue, 07 May 2013 18:08:11 +0000
Resent-Message-Id: <E1UZmJ9-00040t-7L@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 1UZmIx-0003xy-Rf for ietf-http-wg@listhub.w3.org; Tue, 07 May 2013 18:07:59 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UZmIt-00046G-BJ for ietf-http-wg@w3.org; Tue, 07 May 2013 18:07:59 +0000
Received: by mail-wi0-f179.google.com with SMTP id l13so971360wie.6 for <ietf-http-wg@w3.org>; Tue, 07 May 2013 11:07:29 -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; bh=777vGLN+eVkB1iz/OMTaAPe0IdL0w6GBIClKa1o04rU=; b=byzCF1CunwgbEAKPt78sMPfp+pqbXJN/GWTANcOD0QZZAfZWFDUKDmIHzQLTkYUmzQ FPMgdhDAPLA3uMV7gLgqyknRER6IdtLpzHLuc9YSLq9XHe+PckirUwEi1xjR0vjTv8tY 0aJ+okPaUMImu3DydRGr9lDPue1Q8l7EE5iPM+p5hpyjbYbd3kfVqbeJxKTqf30L3Kj+ JOogk7LvIgHpwWyzHS0SJwfTdrWIBL07TJSOJVbHwBu3xAwQPC2nnmMO6gzQlwgnbnzs 4wHekDld7ZxHkMYbO3KwsnKflLcXlgsP9iIXYmWsE5ZvhUllBSGr/w8SCUdpTycPFejf b6kw==
MIME-Version: 1.0
X-Received: by 10.180.183.133 with SMTP id em5mr5098378wic.26.1367950049027; Tue, 07 May 2013 11:07:29 -0700 (PDT)
Received: by 10.194.33.102 with HTTP; Tue, 7 May 2013 11:07:28 -0700 (PDT)
In-Reply-To: <CABP7RbcUDvmYjUjE703UTgOcYTSLBohR7EFw2Rb9u-EDkB7htg@mail.gmail.com>
References: <CABP7RbcUDvmYjUjE703UTgOcYTSLBohR7EFw2Rb9u-EDkB7htg@mail.gmail.com>
Date: Tue, 07 May 2013 11:07:28 -0700
Message-ID: <CABkgnnWDvyUajrhYLvGzqeenUsyq9h720LYZNUzqzHNR8r0LxQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.212.179; envelope-from=martin.thomson@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.697, 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 1UZmIt-00046G-BJ 9299aef8b174832686c7dda4c0ecb85c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Frame Size Items
Archived-At: <http://www.w3.org/mid/CABkgnnWDvyUajrhYLvGzqeenUsyq9h720LYZNUzqzHNR8r0LxQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17869
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 08:19, 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.

This has been discussed.  The problem is that you have to then FIX the
maximum frame size and require that all implementations support that
size.  No one can decide on a goldilocks number: 4096, 8192, 16384,
32768 or 65536 have all been variously proposed.  Others want to add
extra bits to the length field to open up other options (i.e.,
petabytes).

>   b. We introduce a MAX_FRAME_SIZE setting for the SETTINGS frame.

This introduces another "known state" issue (see Gabriel's issues).
You have to have a default (see above), and then a robust way to
change.

>   c. We add a headers block to the RST_FRAME and GOAWAY frames ;-) ..

I'm not following you.

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

That's a simple fix.  Toss a coin.  ;)