Re: redundancy with WINDOW_UPDATE and SETTINGS_FLOW_CONTROL_OPTIONS

Martin Thomson <martin.thomson@gmail.com> Wed, 08 May 2013 23:28 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 EB21D21F8F4D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 May 2013 16:28:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.749
X-Spam-Level:
X-Spam-Status: No, score=-7.749 tagged_above=-999 required=5 tests=[AWL=2.550, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 9ILCNZ76SqAr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 May 2013 16:28:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A412221F8EE1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 8 May 2013 16:28:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UaDm6-000241-Hd for ietf-http-wg-dist@listhub.w3.org; Wed, 08 May 2013 23:27:54 +0000
Resent-Date: Wed, 08 May 2013 23:27:54 +0000
Resent-Message-Id: <E1UaDm6-000241-Hd@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UaDlw-00023H-AB for ietf-http-wg@listhub.w3.org; Wed, 08 May 2013 23:27:44 +0000
Received: from mail-wi0-f175.google.com ([209.85.212.175]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UaDlv-0004q5-LP for ietf-http-wg@w3.org; Wed, 08 May 2013 23:27:44 +0000
Received: by mail-wi0-f175.google.com with SMTP id h11so5609634wiv.2 for <ietf-http-wg@w3.org>; Wed, 08 May 2013 16:27:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=bKneKnHkwtP76Z9VF58MSWI7Z/4u+qmsly5PjaX85Is=; b=fsipEPRUztOwbOJoQ/pBmImJCW/Rl1nF8of9x/puzqr7jSA2QNNI+aB9jo8T3p7uJu 48K6MprQusz8dKobVZ6ehrJLVgg4wxaJ7HaDL0Le1ATHfQ5n66YsrWKzO1um1l2iLXQy S/8qpY2kFS5+sYtjFkXjOtAMkUAakUnyYz4cbcRcevPu0f80RWPXL9qFA/3H4kT4V81K Pq7gQOqenVlK7sNCSdQpoT7RvPagS2A3QsbwaK3SGXBAcrYB+CAyJ3jRpRPg6E+m9u16 dMEToxIpPLfvmZI2/orP3fD4zB8LmR1M9jzJxWkGx5lebXmjvfUZvVGg27y3xgBAKNvw JP4w==
MIME-Version: 1.0
X-Received: by 10.180.189.41 with SMTP id gf9mr13573154wic.32.1368055637512; Wed, 08 May 2013 16:27:17 -0700 (PDT)
Received: by 10.194.33.102 with HTTP; Wed, 8 May 2013 16:27:17 -0700 (PDT)
In-Reply-To: <CABkgnnWPV=C1X-e=End_PWu+B6_e9euoWFFUBsk4DW2CxKvc8g@mail.gmail.com>
References: <CAA4WUYgrkTtpqi9tyyoLp6dzbYoxJr5cBwAyKD+KMKTbL__Mcw@mail.gmail.com> <CABkgnnWPV=C1X-e=End_PWu+B6_e9euoWFFUBsk4DW2CxKvc8g@mail.gmail.com>
Date: Wed, 8 May 2013 16:27:17 -0700
Message-ID: <CABkgnnXNZsDpLswO4sdF7uHpY2ZKrMg7VrNhcAEyQrPM7URcWw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.175; envelope-from=martin.thomson@gmail.com; helo=mail-wi0-f175.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.685, 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: lisa.w3.org 1UaDlv-0004q5-LP 22262abfa243b9041b3fd0e36e9f299d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: redundancy with WINDOW_UPDATE and SETTINGS_FLOW_CONTROL_OPTIONS
Archived-At: <http://www.w3.org/mid/CABkgnnXNZsDpLswO4sdF7uHpY2ZKrMg7VrNhcAEyQrPM7URcWw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17901
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>

OK, this is the 0x2 bit on the setting.  That's something that I
originally didn't include.  I can't remember why it was added, but we
might be able to drop that.

On 8 May 2013 16:10, Martin Thomson <martin.thomson@gmail.com> wrote:
> You can't preemptively end flow control for new streams with WINDOW_UPDATE.
>
> On 8 May 2013 11:56, William Chan (陈智昌) <willchan@chromium.org> wrote:
>> There's a WINDOW_UPDATE flag
>> (http://http2.github.io/http2-spec/#EndFlowControl) for ending flow control
>> for the session or individual stream. There's also a
>> SETTINGS_FLOW_CONTROL_OPTIONS for ending flow control for the session and
>> for all streams.
>>
>> I think all these knobs are useful, but the redundancy is unnecessary. How
>> about we make SETTINGS_FLOW_CONTROL_OPTIONS specific to stream flow control
>> and remove the session flag? To disable flow control for the session, use
>> WINDOW_UPDATE with the end flow control flag and stream id 0.