Git Issues: Reserved Stream-ID Bit

James M Snell <jasnell@gmail.com> Sat, 20 April 2013 19:44 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 9EFAD21F85A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 20 Apr 2013 12:44:18 -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 FsI6ZaDK+eaW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 20 Apr 2013 12:44:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7C3E21F84F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 20 Apr 2013 12:44:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UTdhV-0005Vv-4s for ietf-http-wg-dist@listhub.w3.org; Sat, 20 Apr 2013 19:43:57 +0000
Resent-Date: Sat, 20 Apr 2013 19:43:57 +0000
Resent-Message-Id: <E1UTdhV-0005Vv-4s@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 1UTdhS-0005UO-2r for ietf-http-wg@listhub.w3.org; Sat, 20 Apr 2013 19:43:54 +0000
Received: from mail-ob0-f169.google.com ([209.85.214.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UTdhR-0002RD-7a for ietf-http-wg@w3.org; Sat, 20 Apr 2013 19:43:54 +0000
Received: by mail-ob0-f169.google.com with SMTP id tb18so234361obb.14 for <ietf-http-wg@w3.org>; Sat, 20 Apr 2013 12:43:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=5NGlywlhi/q6dFzHDFTly8GzFFhTmBOhuttty18LG5Y=; b=cVp35XOV9vS+4PVZFUD1QO6X4A8SqWnGOUO+RjGzzCG1SHAiX0pvMN+RI6Hh46AcqP j1yEe6AeATftRPqKOG01fG2a/LClf3SzZB9n6bQ2I/Wd3iAQtBZdqJwrEoeWaAPb4oPy GchWxZPztzYfo8EcEZzlIUlMAs8hfMwQbBmLu5jv8s1fELzNj/+lu4HTvepcRI9kQl/5 tITllClMs6lRgp6+rMMbKaJCiCblXn9pNFO9gcwQZnePZgzu/O4ye7krDHEZqN11RyA3 WrGOMd+acLthhFmaVcY0YMf1G3Wj6EWWKwIAuTdTblsnqpLQxcwyIA4wb4oLt+qMfxSY LV+g==
X-Received: by 10.60.76.234 with SMTP id n10mr12096001oew.63.1366487007088; Sat, 20 Apr 2013 12:43:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.3.137 with HTTP; Sat, 20 Apr 2013 12:43:06 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Sat, 20 Apr 2013 12:43:06 -0700
Message-ID: <CABP7RbeszchSvdintd2ivt+b9vzs04VFAj+BPpq5Gr6d3rWT6A@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.214.169; envelope-from=jasnell@gmail.com; helo=mail-ob0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.662, 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 1UTdhR-0002RD-7a 3876735da0c62712f91ee86398b07102
X-Original-To: ietf-http-wg@w3.org
Subject: Git Issues: Reserved Stream-ID Bit
Archived-At: <http://www.w3.org/mid/CABP7RbeszchSvdintd2ivt+b9vzs04VFAj+BPpq5Gr6d3rWT6A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17431
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>

Per: https://github.com/http2/http2-spec/issues/67

The question is: "R: A reserved 1-bit field. The semantics of this bit
are not defined...What is the purpose for this field?...Why not just
have a 32-bit stream identifier?

Currently, the spec mandates that stream ID's originating from the
client must be odd, and stream ID's originating from the server must
be even. This makes for a much more restricted range of stream id's
and ensures that they'll be used up much faster. Personally, I'd
prefer that this extra reserved bit be used to indicate the
"directionality" of the stream. All streams originating from the
client would have this bit unset, all streams originating from the
server would have this bit set. This gives each side a total of
(2^32)-1 streams to work with. That ought to be more than enough.