Re: Questions on Frame Size

William Chan (陈智昌) <willchan@chromium.org> Fri, 21 June 2013 02:57 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 B8AB621E80F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 20 Jun 2013 19:57:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.843
X-Spam-Level:
X-Spam-Status: No, score=-8.843 tagged_above=-999 required=5 tests=[AWL=-0.833, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, SARE_HTML_USL_OBFU=1.666]
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 M0hAjTX9mcJW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 20 Jun 2013 19:57:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BE20C21E80DF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 20 Jun 2013 19:57:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UprWw-0007Ma-SY for ietf-http-wg-dist@listhub.w3.org; Fri, 21 Jun 2013 02:56:54 +0000
Resent-Date: Fri, 21 Jun 2013 02:56:54 +0000
Resent-Message-Id: <E1UprWw-0007Ma-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 1UprWj-0007IM-Mp for ietf-http-wg@listhub.w3.org; Fri, 21 Jun 2013 02:56:41 +0000
Received: from mail-pa0-f44.google.com ([209.85.220.44]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1UprWi-0005kS-FC for ietf-http-wg@w3.org; Fri, 21 Jun 2013 02:56:41 +0000
Received: by mail-pa0-f44.google.com with SMTP id lj1so7137613pab.3 for <ietf-http-wg@w3.org>; Thu, 20 Jun 2013 19:56:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=p2pzaxoDonuMqO8USliPbOqRbQmQ0n0LW5CCEmFkVk8=; b=Zh5GZK81L7Lfj2K7Qey71A4sivXgaFKZSZl2PB+72PqwW4wyLSmW4Qsr+x6p44XQYo 7Nroc49sL1vvodyjJ0QD1nxFAMOwIgyvB8cSqmFiV6lCNV03TRlkJcCG59Dw2ORquI/Y 7rVb6b/g4a3QnzoVHK7tdOH4xj37k3WdMdK1BLvUfCKJueKZuK6CjwD3AXZJ5YsQsrPu L73pakRpVagLTYAvoKKLcCz3JW6SOp3GNG4s51UIEd4K/2kkWjJuFjg7dh5Az4FJYnLy qZGMmLR2dz0OB2wsi8ueL9Ed4vgkRYIKsDi18CDNPEzZCTLKlXwrz0py8X0kV4EPyRTx +Hgw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=p2pzaxoDonuMqO8USliPbOqRbQmQ0n0LW5CCEmFkVk8=; b=XoIYTqSbWws58AvgSMHbH7K1fV+4SjcKKGg57GIIrpzaEUHZPHlwA3nFYuOyhiQnr5 /mwhmXmMsVkgqWE2kpNTEJEzTNuIr9zOZeoPTFXS/3YIC/GamKptJVEcTBeqgYJPDpSe ahhPHhtGsO/naijx4wwDfS2bv1fSHo0WGBtao=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=p2pzaxoDonuMqO8USliPbOqRbQmQ0n0LW5CCEmFkVk8=; b=DI9hW+1CJ7mUrip7uDwLHMwRtpKk/24+TfTQ3EEFxhCsp42731X/3kzc3ppjb0xEYL RstSy00gnh/SlSexJjUJaWh86oemjlDXRsXLCHaSDWBSPKM03vwxw/7X8TYfKpH6fsM3 RmrKty9gZ3lbaAyPUfnVhykTDdfOFP/bghZJ8vgV2ApykLwRlJk5fO/Map/vjImQ3SAz lVNK1tKGJz21jZKkG5jz1Z60KD0H0FzTmJ6d69OU8/c80FtWc/KUO/pY3anKXBJvcaW/ SntwPPXuwW2RmvPUQGHpE5hC/GvYsU+gRvkAb5WtLqnPgmKMvNbPVGSqv92VwK2idHPh +Dag==
MIME-Version: 1.0
X-Received: by 10.66.240.103 with SMTP id vz7mr13769880pac.194.1371783374210; Thu, 20 Jun 2013 19:56:14 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.68.21.135 with HTTP; Thu, 20 Jun 2013 19:56:14 -0700 (PDT)
In-Reply-To: <51C3BD06.6020501@iij.ad.jp>
References: <51C293FD.1040806@iij.ad.jp> <CABP7RbeS7zeVnOM7R0mcUe+t-M+Ta3GVZr+1A3gSjY8QqCOgzQ@mail.gmail.com> <51C3823E.7010706@iij.ad.jp> <51C3A2A4.6030601@treenet.co.nz> <alpine.LRH.2.01.1306201809370.21683@egate.xpasc.com> <51C3BD06.6020501@iij.ad.jp>
Date: Thu, 20 Jun 2013 19:56:14 -0700
X-Google-Sender-Auth: 3f9YMvrfghmOoyOoyi_nTyFonMM
Message-ID: <CAA4WUYjJoxfmuU8GKySeCmoF4-T-BYC1YmBHRTc36su5eubNuQ@mail.gmail.com>
From: "William Chan (陈智昌)" <willchan@chromium.org>
To: Shigeki Ohtsu <ohtsu@iij.ad.jp>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="047d7b111dc3baaf1b04dfa134a8"
X-Gm-Message-State: ALoCoQkfL6xQZnUSl7S/mhW2DakrhvClQxxzroiUaxYk9qJ+V3ogy9UvcyinSOpLDH1m8hOSUpcgmf9Y9MUYB6GkKfhqYf5VKOSOdmoXLcqAnjGJvvfMUVzF5ygkm/hrFLdu9HzsmQll3y7GMebP+wzw0yUCWFpr5GcxPCYhGebAd5ckRiwXHWRhWaYqORCt5YGbBGgnsmqc
Received-SPF: pass client-ip=209.85.220.44; envelope-from=willchan@google.com; helo=mail-pa0-f44.google.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-2.089, 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.297, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UprWi-0005kS-FC 079ce72c80a4653a4583b50b7fbabb4c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Questions on Frame Size
Archived-At: <http://www.w3.org/mid/CAA4WUYjJoxfmuU8GKySeCmoF4-T-BYC1YmBHRTc36su5eubNuQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18334
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 Thu, Jun 20, 2013 at 7:40 PM, Shigeki Ohtsu <ohtsu@iij.ad.jp> wrote:

> It seems that everyone agreed max 16K in HTTP but is not sure for use of
> 64K now.
>
> I think it is a bad idea to require for all implementers to suport 64K
> frame size because
> it is too early to discuss future extensions for non-HTTP protocols.
>

I think this argument is invalid. I would find it valid to say that this is
unnecessary complexity (having a larger max frame size at the framing
layer) since that's for non-HTTP protocols and it's too early to discuss
them. But if your implementation only going to support HTTP semantics
anyway and plans to choke if someone tries to send a frame for a non-HTTP
application layer protocol, then I don't think there's any additional
implementation burden here.


>
> I've just made two commits for
>
> 1. change the requirement of min size of frame to 8K as previous one
> (maybe 16K is okay)
> 2. write max frame size of 16K explicity when carrying HTTP
>
> https://github.com/shigeki/**http2-spec/compare/shigeki_**20130621<https://github.com/shigeki/http2-spec/compare/shigeki_20130621>
>
> If this is accepted, I will submit the PR.
>
> Regards,
>
>
> (2013/06/21 10:14), David Morris wrote:
>
>>
>>
>> On Fri, 21 Jun 2013, Amos Jeffries wrote:
>>
>>  Which implies that server-push is a different protocol to HTTP already.
>>>
>>
>> Different from 1.1, but a new feature of 2.0
>>
>>
>>  IIRC: the 64K limit is for next-generation requirements of systems
>>> running
>>> HTTP at TB speeds. Allowing new frames to be added for those larger line
>>> rates
>>> is very useful given they are already on the horizon and HTTP/2.0 has
>>> long
>>> lifetime ahead.
>>>
>>
>> In the SF Interim, we agreed to 64K/16K (frame/vs HTTP) to allow for the
>> larger frame required to establish a TLS connection without added round
>> trips because the initial TLS setup exceeded a single frame.
>>
>>
>
>