Re: 6.5.2 FLOW_CONTROL_OPTIONS text

Martin Thomson <martin.thomson@gmail.com> Tue, 23 July 2013 22:21 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 BDE6011E814F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Jul 2013 15:21:34 -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 mgZVJHQ9y4iK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Jul 2013 15:21:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C17E111E8123 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Jul 2013 15:21:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1V1kx4-0007R0-Ly for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Jul 2013 22:21:02 +0000
Resent-Date: Tue, 23 Jul 2013 22:21:02 +0000
Resent-Message-Id: <E1V1kx4-0007R0-Ly@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1V1kwv-0007Ps-Ph for ietf-http-wg@listhub.w3.org; Tue, 23 Jul 2013 22:20:53 +0000
Received: from mail-wi0-f172.google.com ([209.85.212.172]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1V1kwu-000359-Ul for ietf-http-wg@w3.org; Tue, 23 Jul 2013 22:20:53 +0000
Received: by mail-wi0-f172.google.com with SMTP id c10so3577396wiw.5 for <ietf-http-wg@w3.org>; Tue, 23 Jul 2013 15:20:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8oHbagOMu3twdZ+6clLOufRVB0Ph0QRrA8k9PPMOOXI=; b=EBftiQ1rexwP3HKz0SIOH5QcWoZCOBpTqrecPRjBOUtxiNgP6hY5qC8t5089NoI1CF ogb6QTny1qgIRDj8nqlD6HpREzzHzosyRLjeqjupnxWSBX2SydbBF3yaXJUexprAFvPu leONvOvR0hjVoqR5LxE+f1I2CVo+9Vd78v9/b9p5bgoXDj34g739/5nHUgl3J5DpEM7r KxIpfZqFJrQCw//D+22fqXVxKtQzIR8DsuzL3hdepvSZAtCdWJsYpTTyk9w4DN7exXNd ofIhJN58OCv+xP7NhwRMZ4GL8uxrVlu8m/JTBmstaskItUosDr34bUka+aSKu1o9hIr5 eC4A==
MIME-Version: 1.0
X-Received: by 10.180.92.1 with SMTP id ci1mr563269wib.14.1374618026426; Tue, 23 Jul 2013 15:20:26 -0700 (PDT)
Received: by 10.194.60.46 with HTTP; Tue, 23 Jul 2013 15:20:26 -0700 (PDT)
In-Reply-To: <CAOdDvNoTsJn-MqdpTG7viHXWwRcA-v+rePVZCRkWUALM_2vgBg@mail.gmail.com>
References: <CAOdDvNoTsJn-MqdpTG7viHXWwRcA-v+rePVZCRkWUALM_2vgBg@mail.gmail.com>
Date: Tue, 23 Jul 2013 15:20:26 -0700
Message-ID: <CABkgnnWU+6-XUnjtMY7_n2nceJ_7i+tj4rMvb6RPrTMsRGT+ww@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.212.172; envelope-from=martin.thomson@gmail.com; helo=mail-wi0-f172.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.700, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1V1kwu-000359-Ul 2f868b8b4a6e3793589f4c50e2b53b15
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 6.5.2 FLOW_CONTROL_OPTIONS text
Archived-At: <http://www.w3.org/mid/CABkgnnWU+6-XUnjtMY7_n2nceJ_7i+tj4rMvb6RPrTMsRGT+ww@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18892
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>

Yep, I can see how that would be confusing.

The intent was: bit 0x1 == 0 => flow control as before; bit 0x1 == 1
=> stop flow control.

https://github.com/http2/http2-spec/issues/181

I've marked it as editorial, but maybe we should discuss what we want
from this a little more.

On 23 July 2013 14:00, Patrick McManus <pmcmanus@mozilla.com> wrote:
> I found this really confusing:
>
>   SETTINGS_FLOW_CONTROL_OPTIONS (10):  indicates that streams directed
>       to the sender will not be subject to flow control.  The least
>       significant bit (0x1) of the value is set to indicate that new
>       streams are not flow controlled.  All other bits are reserved.
>
>       This setting applies to all streams, including existing streams.
>
>       These bits cannot be cleared once set, see Section 6.9.4.
>
>
> 1] does the value always need to be 1? The option as a whole is defined to
> indicate that "streams .. will not be subject to flow control" - so not
> setting the value would seem to be inconsistent. But if the value can only
> be 1, why define a value at all? Maybe the option definition is misleading
> and should be "whether or not streams will be subject to flow control"?
>
> 2] "This setting applies to all streams, including existing ones".. but the
> "value is set to indicate that new streams are not flow controlled"
> (implying existing streams are not impacted).
>
> 3] "These bits cannot be..".. bits is plural, but only 1 bit is defined.
>
> barring better advice, for my -04 implementation I am going to test the low
> bit of the value, and if true apply the logic to all present and future
> sends directed to the sender of the option.