redundancy with WINDOW_UPDATE and SETTINGS_FLOW_CONTROL_OPTIONS

William Chan (陈智昌) <willchan@chromium.org> Wed, 08 May 2013 18:57 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 AC16A21F9057 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 May 2013 11:57:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level:
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 Yzfrc4SKAbZI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 May 2013 11:57:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D752821F90B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 8 May 2013 11:57: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 1Ua9Xo-0004G1-Ee for ietf-http-wg-dist@listhub.w3.org; Wed, 08 May 2013 18:56:52 +0000
Resent-Date: Wed, 08 May 2013 18:56:52 +0000
Resent-Message-Id: <E1Ua9Xo-0004G1-Ee@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1Ua9Xe-0004Bm-Cp for ietf-http-wg@listhub.w3.org; Wed, 08 May 2013 18:56:42 +0000
Received: from mail-qc0-f178.google.com ([209.85.216.178]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1Ua9Xc-0003Bq-C1 for ietf-http-wg@w3.org; Wed, 08 May 2013 18:56:42 +0000
Received: by mail-qc0-f178.google.com with SMTP id l11so1203732qcy.23 for <ietf-http-wg@w3.org>; Wed, 08 May 2013 11:56:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=fLj1hTyHQfkrRL7mSiO9Opz7YqCqEMEVA0sJQbdtH1U=; b=R4VSwD6BmQaCt7SnVVR7tQERzajWXwkunYpm+Eu+2H6jsXxfe/LAH/k6VW6UtdE1Ln RV9GGR0Y71ynHh1duPLxA3GDjlco9R4AZEOHpwLyUPY01FaYVgKCw/b0K4T+77n2DHMk xbHT50n5tHOIooTAm3HOyTyTcnk9VE5FFlhZUTkGSkvgQ0mUTTUD699M+PaCRyJXzfCM uFp0gVjKJJm6IiQt7q+E1YLCEbEPvRtx16WXF8DDoLdGIjCjSevdFP+jKC+lt6eYllOx wmsZYCS58jZYvwHjMnip5G3RdH+lFYi9o4dOvgmtLb9eK/7ZIjLke+ClRtEjs+z9jkEz IBaw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=fLj1hTyHQfkrRL7mSiO9Opz7YqCqEMEVA0sJQbdtH1U=; b=QHpbp/jAMeAwPO+oTooGP2MeaikJYrmMAKHOgr6G5sf3WreO7aF7HwlfzG2M8lptfA TQiZZX2mz7SWCFCcAZ/CUU4EmaWYRNFgry2MwyN4BvRYEAvW/IqF0JyWhawas7BpgKRA LXbN416yM6zHO338E6kIg+jIu2D6UB9En9Sp4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type:x-gm-message-state; bh=fLj1hTyHQfkrRL7mSiO9Opz7YqCqEMEVA0sJQbdtH1U=; b=eicCgqSMtzqmP2TnHxXoG3tP5LbQkPT5QmLkz0mn9fXv1nwHA4OOihNEpkvqG9Fuzo GQtn9Ea0McbhHKA3ISn3R+v8IDiQ44dgHsfm9ILqml05mscYfiNmROQOZDaSGh0zUXui EwWC4Frhd/a9iu6KsmNJWGAzA6MKPjROY1JaJO6pPgy2tkW16E5IV6rS9Vl94YTGPmM5 I0ahChh6JNd9RhWDL3AhA3OKvjBfiWcQBi3dxPxFZv5W3awbQe0T4xOMxe6sw6NyJAxk EpUjNQ+hS3cYdooS0iQfgLnl3Q+YzZKqW1DX8Yd/0GQ4MgOFl/+4gKLYMYF0pVxudhFW OySQ==
MIME-Version: 1.0
X-Received: by 10.229.170.18 with SMTP id b18mr2422659qcz.5.1368039374434; Wed, 08 May 2013 11:56:14 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.180.4 with HTTP; Wed, 8 May 2013 11:56:14 -0700 (PDT)
Date: Wed, 8 May 2013 15:56:14 -0300
X-Google-Sender-Auth: YoWU5MPYlFGlIO2uP5KenZwoRXg
Message-ID: <CAA4WUYgrkTtpqi9tyyoLp6dzbYoxJr5cBwAyKD+KMKTbL__Mcw@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f646b01f3f2d704dc397cf5
X-Gm-Message-State: ALoCoQlhIBmhPTY1Gngx9L7WrsEEUDLHhslUtvZH15tXgnGGwbyW77+0Spveqdig88RFhWLXq+QcKdQNXnbNphW5rdumFn+LOLy/8eo5vzvlJQVG99dkTa4zc8W7Z93T/Ay8PD7y4fmtiwR6HT/oxZMwSYKK0wA/l/m1Lv1rsKL5UPBcOD1Tg0F11NPmB43B9TXnOGQ7vZR7
Received-SPF: pass client-ip=209.85.216.178; envelope-from=willchan@google.com; helo=mail-qc0-f178.google.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-2.037, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.353, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ua9Xc-0003Bq-C1 737b8fe408a6925f33b25b4a909f7f91
X-Original-To: ietf-http-wg@w3.org
Subject: redundancy with WINDOW_UPDATE and SETTINGS_FLOW_CONTROL_OPTIONS
Archived-At: <http://www.w3.org/mid/CAA4WUYgrkTtpqi9tyyoLp6dzbYoxJr5cBwAyKD+KMKTbL__Mcw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17895
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>

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.