Re: Design Issue: Frame Size Items

Roberto Peon <grmocg@gmail.com> Tue, 07 May 2013 18:27 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 EE93421F919A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 11:27:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 3kHIGu9QkObS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 7 May 2013 11:27:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2544321F9199 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 7 May 2013 11:27:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UZmb8-0006T3-97 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 May 2013 18:26:46 +0000
Resent-Date: Tue, 07 May 2013 18:26:46 +0000
Resent-Message-Id: <E1UZmb8-0006T3-97@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UZmax-0006Rw-17 for ietf-http-wg@listhub.w3.org; Tue, 07 May 2013 18:26:35 +0000
Received: from mail-oa0-f44.google.com ([209.85.219.44]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UZmaw-0004of-5r for ietf-http-wg@w3.org; Tue, 07 May 2013 18:26:34 +0000
Received: by mail-oa0-f44.google.com with SMTP id n12so1045557oag.3 for <ietf-http-wg@w3.org>; Tue, 07 May 2013 11:26:08 -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=5PgQyGesq1hzgkVqVyPbOhYn+c74+6uDmOwMAcH2/bk=; b=xYLoJkCx+GCPaazddYtgeRnEn5Vmym8QqIEdzWnUub/p+hmolBc/rsrZKUZIlkrvuE iBN1+G70JoYVtNQBWREXv7WlI9G7XPC7JVVQoU3ojdTe8Ji/HHJ3gPtaUdCe3WmzCbq6 mHJFJd5qOqYwmyT6hWl49X3rkNh24hcnYL6H1KF+OVOgENYBRg+NhBs/HToS1gWd7im+ Gk5+R1dSe23Jx5/mzm1MRBUHy39l70nW8rWJ1bKsk/LPbuLMy6P4c5INvuplPqx2SXib DDtT2JmMBooUifqrzwRnzPZJBivKppQkO4LFZiZBcApLjkVMoP2G+kZk0YO4sNOVRruO wvPg==
MIME-Version: 1.0
X-Received: by 10.182.226.162 with SMTP id rt2mr928432obc.9.1367951168222; Tue, 07 May 2013 11:26:08 -0700 (PDT)
Received: by 10.76.130.139 with HTTP; Tue, 7 May 2013 11:26:08 -0700 (PDT)
In-Reply-To: <CABkgnnWDvyUajrhYLvGzqeenUsyq9h720LYZNUzqzHNR8r0LxQ@mail.gmail.com>
References: <CABP7RbcUDvmYjUjE703UTgOcYTSLBohR7EFw2Rb9u-EDkB7htg@mail.gmail.com> <CABkgnnWDvyUajrhYLvGzqeenUsyq9h720LYZNUzqzHNR8r0LxQ@mail.gmail.com>
Date: Tue, 07 May 2013 11:26:08 -0700
Message-ID: <CAP+FsNfQEZdCJKyevpqW+1_EkspYGvxb9W6VOZi7gd_4XBgmFA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
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="001a11c2e93c74452304dc24f3cd"
Received-SPF: pass client-ip=209.85.219.44; envelope-from=grmocg@gmail.com; helo=mail-oa0-f44.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.688, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UZmaw-0004of-5r 9b0c954b0dd76fb50a490edec3aa303d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Frame Size Items
Archived-At: <http://www.w3.org/mid/CAP+FsNfQEZdCJKyevpqW+1_EkspYGvxb9W6VOZi7gd_4XBgmFA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17870
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>

since a frame != the payload of a frame, I think the answer shouldn't be in
question.
A frame includes the framing and overhead bytes, and (regardless of how it
may have been done in the past) the frame-size field either corresponds to
this entity, or needs to be renamed.
-=R


On Tue, May 7, 2013 at 11:07 AM, Martin Thomson <martin.thomson@gmail.com>wrote:

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