Design: Adding ASSOCIATED_ONLY

James M Snell <jasnell@gmail.com> Wed, 19 June 2013 17:58 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 9322A21F9DC7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 19 Jun 2013 10:58:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.552
X-Spam-Level:
X-Spam-Status: No, score=-10.552 tagged_above=-999 required=5 tests=[AWL=0.047, 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 dJiAjOewwEcY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 19 Jun 2013 10:58:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1B34C21F9DBB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 19 Jun 2013 10:58:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UpMdg-0007kJ-UY for ietf-http-wg-dist@listhub.w3.org; Wed, 19 Jun 2013 17:57:48 +0000
Resent-Date: Wed, 19 Jun 2013 17:57:48 +0000
Resent-Message-Id: <E1UpMdg-0007kJ-UY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UpMdT-0007fr-Qo for ietf-http-wg@listhub.w3.org; Wed, 19 Jun 2013 17:57:35 +0000
Received: from mail-ve0-f169.google.com ([209.85.128.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UpMdS-0007Ml-LF for ietf-http-wg@w3.org; Wed, 19 Jun 2013 17:57:35 +0000
Received: by mail-ve0-f169.google.com with SMTP id m1so4371462ves.0 for <ietf-http-wg@w3.org>; Wed, 19 Jun 2013 10:57:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=K1+4ZTZWT0Yj3J0lJFt75eLwT+AZmIaJPYSH9F/YVvQ=; b=CnIGvoh3GozDP21DPhm5PlCETxjwA570OkPjxIBT3aaEyoJlz/BLtnA0/W1IJRU8rU Hgdz4foA5dhzLNTrESCLKr7qmbyJp/IHN1opa2/qiIuKqV4wjLl/ZIWo7i6HMw0kwSZt 7aP/dH6Dsx38ulocmXm0waULY37Q3NA05q5jmmezh1QDZTm1WjT+nX1+0oe8bNYQfnhd 2rfk+1tjiT6LgfGW/idjifAsddO/UGgktICjhTrZAZge8ZHTfYrb1yiscGSHmqGGKolV 1JQuFft+PtWqsmqFvt+wd0TLwosKwnWvIKUACbSdpJICXaQ6rTw61PhNQQmQpR7hdWWZ 94MA==
X-Received: by 10.58.255.229 with SMTP id at5mr1296135ved.44.1371664628925; Wed, 19 Jun 2013 10:57:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.58.47.8 with HTTP; Wed, 19 Jun 2013 10:56:48 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Wed, 19 Jun 2013 10:56:48 -0700
Message-ID: <CABP7Rbe29dHp3LZuWEMKJdVEkuHW2jOUK0sSyBuh6PFnq=9Z1A@mail.gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.128.169; envelope-from=jasnell@gmail.com; helo=mail-ve0-f169.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 1UpMdS-0007Ml-LF 8b9bb2514fa0a9fd71007106cedd415b
X-Original-To: ietf-http-wg@w3.org
Subject: Design: Adding ASSOCIATED_ONLY
Archived-At: <http://www.w3.org/mid/CABP7Rbe29dHp3LZuWEMKJdVEkuHW2jOUK0sSyBuh6PFnq=9Z1A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18289
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>

https://github.com/http2/http2-spec/pull/144

This was a technical change brought up and discussed as part of the
"layering taskforce" breakout but was never discussed in the larger
interim discussions.

Essentially, this PR would add an "ASSOCIATED_ONLY" flag to PRIORITY
and RST_STREAM frames that would allow terminating and reprioritizing
promised streams as a group.

Sending PRIORITY(ASSOCIATED_ONLY) would ONLY set the priority for
associated streams, not the referenced stream.

Sending RST_STREAM(ASSOCIATED_ONLY) would terminate ONLY the
associated streams, not the referenced stream.

Without this, we would have to send PRIORITY and RST_STREAM for each
individual associated stream, which is obviously quite inefficient.