Re: 6.9.2 Initial Flow Control Window Size Example

Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> Wed, 24 July 2013 12:37 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 1882111E819E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Jul 2013 05:37:02 -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 wvWZxl3OJfPi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Jul 2013 05:36:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B125911E80E6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Jul 2013 05:36:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1V1yHw-0005Vu-1d for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Jul 2013 12:35:28 +0000
Resent-Date: Wed, 24 Jul 2013 12:35:28 +0000
Resent-Message-Id: <E1V1yHw-0005Vu-1d@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tatsuhiro.t@gmail.com>) id 1V1yHn-0005V8-2k for ietf-http-wg@listhub.w3.org; Wed, 24 Jul 2013 12:35:19 +0000
Received: from mail-oa0-f48.google.com ([209.85.219.48]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tatsuhiro.t@gmail.com>) id 1V1yHk-00063s-Th for ietf-http-wg@w3.org; Wed, 24 Jul 2013 12:35:19 +0000
Received: by mail-oa0-f48.google.com with SMTP id f4so780117oah.21 for <ietf-http-wg@w3.org>; Wed, 24 Jul 2013 05:34:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kfplGni2KDd/2ojlq47o9BepOkB9c6YKG1nkct4jiL8=; b=mBgRFr+Sqa83rUrbEOynXLcvc1gsHQSybmTdMQwGB6PKj/37O0UFjFjTmDr+Vqxshd OPbJxdtqHneVEdF4LUIVQLa4i1+xWnQMLAsxCb/UsbG02wPo0t4SkD9XHBiSLsUFyb95 AfeMdyG4lcOCa8qGIRCmkAaiMDg23x+l93/EnHyY+YV0BtaGoEqNhImBp8TZhfuUN2uF 22o6dlT2jel1rOSjst/yb4i98ZmsR79L3IjjOl3hKP50PzgiX6nCg0ga9OuzCAnjjckz Rscx6wrYd2gr/Ag/+ve4gfSXOFyyfhErKy+rggaIMMeYbsGhGWZFO7Q0+gRpAruTa05I JkBA==
X-Received: by 10.42.62.4 with SMTP id w4mr3431445ich.27.1374669290902; Wed, 24 Jul 2013 05:34:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.32.103 with HTTP; Wed, 24 Jul 2013 05:34:30 -0700 (PDT)
In-Reply-To: <CABkgnnWayWA_jdeGvo2-OGjGA7-k-vO03=iO=Gn4YYu=fh3UhQ@mail.gmail.com>
References: <CAOdDvNptA+va785zGGXuPnjh0WfRLBazA1n_mUcvg2fwvHXtcA@mail.gmail.com> <CABkgnnWayWA_jdeGvo2-OGjGA7-k-vO03=iO=Gn4YYu=fh3UhQ@mail.gmail.com>
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Wed, 24 Jul 2013 21:34:30 +0900
Message-ID: <CAPyZ6=KxPYY4NxG+=AytnP9W2V4uUX9vuBjkz=KkScWBt4EDzA@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="90e6ba613cfac49c4104e24122b1"
Received-SPF: pass client-ip=209.85.219.48; envelope-from=tatsuhiro.t@gmail.com; helo=mail-oa0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.618, 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 1V1yHk-00063s-Th 1a493fe0ce1e954b953e4b6aa0d575e0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 6.9.2 Initial Flow Control Window Size Example
Archived-At: <http://www.w3.org/mid/CAPyZ6=KxPYY4NxG+=AytnP9W2V4uUX9vuBjkz=KkScWBt4EDzA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18903
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 Wed, Jul 24, 2013 at 7:28 AM, Martin Thomson <martin.thomson@gmail.com>wrote:

> On 23 July 2013 14:03, Patrick McManus <pmcmanus@mozilla.com> wrote:
> > For example, if the client sends 64KB immediately on connection
> >    establishment,
> >
> >
> > The example uses an invalid computation because the default window is
> "64KB
> > - 1"
>
> This is true if you assume that it wasn't just rounded up :)
>
> https://github.com/http2/http2-spec/issues/182
>
>
So the correct value is 65535, right?

5.2.1. Flow Control Principles also says
"...the flow control window is 65536 bytes ...", so it should be correct
too.
This value is a bit confusing because SPDY/3 flow control uses 65536 as a
initial window size (well, it is a different protocol, so no one should not
be bothered but still.)

Best regards,
Tatsuhiro Tsujikawa