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>

--90e6ba613cfac49c4104e24122b1
Content-Type: text/plain; charset=ISO-8859-1

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

--90e6ba613cfac49c4104e24122b1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Wed, Jul 24, 2013 at 7:28 AM, Martin Thomson <span dir=3D"ltr">&=
lt;<a href=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.tho=
mson@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div class=3D""><div class=3D"h5">On 23 July 2013 14:03, P=
atrick McManus &lt;<a href=3D"mailto:pmcmanus@mozilla.com">pmcmanus@mozilla=
.com</a>&gt; wrote:<br>


&gt; For example, if the client sends 64KB immediately on connection<br>
&gt; =A0 =A0establishment,<br>
&gt;<br>
&gt;<br>
&gt; The example uses an invalid computation because the default window is =
&quot;64KB<br>
&gt; - 1&quot;<br>
<br>
</div></div>This is true if you assume that it wasn&#39;t just rounded up :=
)<br>
<br>
<a href=3D"https://github.com/http2/http2-spec/issues/182" target=3D"_blank=
">https://github.com/http2/http2-spec/issues/182</a><br>
<br></blockquote><div><br></div><div>So the correct value is 65535, right?<=
/div><div><br></div><div>5.2.1<span style=3D"font-size:1em;line-height:0pt;=
color:rgb(80,0,80);font-weight:bold">.  Flow Control Principles also says</=
span></div>

<div><span style=3D"color:rgb(0,0,0);font-size:1em">&quot;...the flow contr=
ol window is 65536 bytes ...&quot;, so it should be correct too.</span></di=
v><div><span style=3D"color:rgb(0,0,0);font-size:1em">This value is a bit c=
onfusing because SPDY/3 flow control uses 65536 as a initial window size (w=
ell, it is a different protocol, so no one should not be bothered but still=
.)</span></div>

<div><span style=3D"color:rgb(0,0,0);font-size:1em"><br></span></div><div><=
span style=3D"color:rgb(0,0,0);font-size:1em">Best regards,</span></div><di=
v><font color=3D"#000000">Tatsuhiro Tsujikawa</font></div><div><font color=
=3D"#000000"><br>

</font></div></div><br></div></div>

--90e6ba613cfac49c4104e24122b1--

