Re: Questions on Frame Size

Shigeki Ohtsu <ohtsu@iij.ad.jp> Thu, 20 June 2013 07:11 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 683D821F9B90 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 20 Jun 2013 00:11:09 -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 o+DYokjjoYmD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 20 Jun 2013 00:11:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4FD1521F9605 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 20 Jun 2013 00:11:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UpZ0l-0001bx-BF for ietf-http-wg-dist@listhub.w3.org; Thu, 20 Jun 2013 07:10:27 +0000
Resent-Date: Thu, 20 Jun 2013 07:10:27 +0000
Resent-Message-Id: <E1UpZ0l-0001bx-BF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ohtsu@iij.ad.jp>) id 1UpZ0Y-0001aI-BB for ietf-http-wg@listhub.w3.org; Thu, 20 Jun 2013 07:10:14 +0000
Received: from mo00.iij.ad.jp ([202.232.30.145] helo=omgo.iij.ad.jp) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ohtsu@iij.ad.jp>) id 1UpZ0W-0000WG-Dd for ietf-http-wg@w3.org; Thu, 20 Jun 2013 07:10:14 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iij.ad.jp; h=Message-ID: Date:From:MIME-Version:To:Subject:References:In-Reply-To:Content-Type: Content-Transfer-Encoding; i=ohtsu@iij.ad.jp; s=omgo1; t=1371712188; x= 1372921788; bh=uqdJxH/ItlIm4C+L2S2bfDXkScrbLdiuT1dCl5aC7h4=; b=O6JM4fre2qaWyNCy rpWxUcmACM3YgMApNfdUMnKJbeq4fCi1w/Axazv3Q8XSeNIr2Dme072K4kaDQbH172Bl4kvR5FUqi 3pk/yKd5xuHzyUftPdcJ1iBtdKn+2zaX2qAmr1L/IjgGLhvVGymitt8EPtEYgdFxO70OyMu0mOOF5 U=;
Received: by omgo.iij.ad.jp (mo00) id r5K79mCx026733; Thu, 20 Jun 2013 16:09:48 +0900
Message-ID: <51C2AAB9.2060908@iij.ad.jp>
Date: Thu, 20 Jun 2013 16:09:45 +0900
From: Shigeki Ohtsu <ohtsu@iij.ad.jp>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <51C293FD.1040806@iij.ad.jp> <CAP+FsNd5Z3VgK6BBF6DJJdVdkdRj9bjdmKsKVcR_+cc3rSyrkQ@mail.gmail.com>
In-Reply-To: <CAP+FsNd5Z3VgK6BBF6DJJdVdkdRj9bjdmKsKVcR_+cc3rSyrkQ@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=202.232.30.145; envelope-from=ohtsu@iij.ad.jp; helo=omgo.iij.ad.jp
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: AWL=-2.249, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-1.276, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UpZ0W-0000WG-Dd 540ca835dca3df565f64a2372028339f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Questions on Frame Size
Archived-At: <http://www.w3.org/mid/51C2AAB9.2060908@iij.ad.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18314
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>

Thanks for your answer. I'm aware that the spec is still work-in-progress
for a new layering design but I was suprised that both two descriptions
about 16K limit and 64K requirements was newly added with the same commit.

The spec only covers HTTP so that the description of 64K requirements confused me.

(2013/06/20 15:44), Roberto Peon wrote:
> The spec is in flux w.r.t. layering, where this will be clarified.
> Right now, as I understand it, however, the intent is that HTTP will be limited to 16k frame sizes, and anything larger would get you a protocol
> error or similar.
> -=R
>
>
> On Wed, Jun 19, 2013 at 10:32 PM, Shigeki Ohtsu <ohtsu@iij.ad.jp <mailto:ohtsu@iij.ad.jp>> wrote:
>
>     Hi,
>
>     The issues about frame size were discussed and might had some
>     agreements at SF interium but please let me ask some questions on the
>     current spec of "3.3.2 Frame Size" which is updated by
>     https://github.com/http2/http2-spec/commit/fd703b572cfc527582c0716e59f2c4044ae195a8
>
>     1. "For instance, individual DATA and HEADERS frames used to express
>     HTTP request and response messages (see Section 4) are not permitted
>     to exceed 16,383 octets of payload."
>
>     PUSH_PROMISE is not listed.
>     Is the data size of PUSH_PROMISE also limited to 16K or is it exceptional
>     for some reason?
>
>     2. "The absolute maximum amount of payload data any individual frame
>       can contain is 65,535 octets. All implementations SHOULD be capable
>       of receiving and minimally processing frames up to this size."
>
>     If PUSH_PROMISE has a 16K limit, the max frame size is still 64K,
>     however, any other frames besides DATA, HEADERS and PUSH_PROMISE
>     are only several octets at most.
>
>     Is it for the future extension not to change the frame length to 14bit?
>     If so, why the spec requires all implementations to support the 64K frame
>       size only for the future extension?
>
>     Regards,
>
>