W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2013

Git Issues: Reserved Stream-ID Bit

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>
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.
Received on Saturday, 20 April 2013 19:43:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:12 UTC