Re: redundancy with WINDOW_UPDATE and SETTINGS_FLOW_CONTROL_OPTIONS

Martin Thomson <martin.thomson@gmail.com> Wed, 08 May 2013 23:12 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 0D47A21F9051 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 May 2013 16:12:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.337
X-Spam-Level:
X-Spam-Status: No, score=-9.337 tagged_above=-999 required=5 tests=[AWL=0.962, 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 WwC9towTyyMR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 May 2013 16:12:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7E2221F8AE2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 8 May 2013 16:12:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UaDW6-0001nE-Rb for ietf-http-wg-dist@listhub.w3.org; Wed, 08 May 2013 23:11:22 +0000
Resent-Date: Wed, 08 May 2013 23:11:22 +0000
Resent-Message-Id: <E1UaDW6-0001nE-Rb@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 1UaDVs-0001iZ-Uo for ietf-http-wg@listhub.w3.org; Wed, 08 May 2013 23:11:08 +0000
Received: from mail-wg0-f46.google.com ([74.125.82.46]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UaDVr-0007o3-V1 for ietf-http-wg@w3.org; Wed, 08 May 2013 23:11:08 +0000
Received: by mail-wg0-f46.google.com with SMTP id n12so2356747wgh.13 for <ietf-http-wg@w3.org>; Wed, 08 May 2013 16:10:41 -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=XKi7x6++48UBS0DZKqCzu/6HOr2zxC5usG3D9rB9plk=; b=GNpo7WjB8wmrXYao9XCHnZ39Fhayh7jX/rsvHZuRyXsWjMPJWq4dwShBH/nWA8xOGG BleL+7d9lLd3nBijhA7YLsAXpbEAyJd+c0aPaQ9uDum8JwbE0qGdQ7z+FQbgpHlgnCB9 iif2xHjPldipCgEEnU3nOfNvkcm0CjZR3k1H+7e3RQgqfrAV0MooQIVcYuDQ9oamPzd/ Dl5VHq1nWfsOfSUrrx0zFcE7jYTj6A0wJFN1WKDRRkNfHLQKh5ZRzSpvRCG8ZBAoYU0K QSWvf+I098rrr0CNMhIquebWJeQcQ3IuTof1cGwcIrTazPrpQKDl+IRA4x3oEfW5u1tM k0dA==
MIME-Version: 1.0
X-Received: by 10.180.83.199 with SMTP id s7mr13617881wiy.19.1368054641516; Wed, 08 May 2013 16:10:41 -0700 (PDT)
Received: by 10.194.33.102 with HTTP; Wed, 8 May 2013 16:10:41 -0700 (PDT)
In-Reply-To: <CAA4WUYgrkTtpqi9tyyoLp6dzbYoxJr5cBwAyKD+KMKTbL__Mcw@mail.gmail.com>
References: <CAA4WUYgrkTtpqi9tyyoLp6dzbYoxJr5cBwAyKD+KMKTbL__Mcw@mail.gmail.com>
Date: Wed, 08 May 2013 16:10:41 -0700
Message-ID: <CABkgnnWPV=C1X-e=End_PWu+B6_e9euoWFFUBsk4DW2CxKvc8g@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "William Chan (陈智昌)" <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=74.125.82.46; envelope-from=martin.thomson@gmail.com; helo=mail-wg0-f46.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.686, 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 1UaDVr-0007o3-V1 61a14bbf283afe21faed2f9d0edfba50
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/CABkgnnWPV=C1X-e=End_PWu+B6_e9euoWFFUBsk4DW2CxKvc8g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17900
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>

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.