Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream ID is 62-bits #2660

Merged
merged 4 commits into from May 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions draft-ietf-quic-transport.md
Expand Up @@ -269,9 +269,10 @@ data in one direction: from the initiator of the stream to its peer.
Bidirectional streams allow for data to be sent in both directions.

Streams are identified within a connection by a numeric value, referred to as
the stream ID. Stream IDs are unique to a stream. A QUIC endpoint MUST NOT
reuse a stream ID within a connection. Stream IDs are encoded as
variable-length integers (see {{integer-encoding}}).
the stream ID. A stream ID is a 62-bit integer (0 to 2^62-1) that is unique for
all streams on a connection. Stream IDs are encoded as variable-length integers
(see {{integer-encoding}}). A QUIC endpoint MUST NOT reuse a stream ID within a
connection.

The least significant bit (0x1) of the stream ID identifies the initiator of the
stream. Client-initiated streams have even-numbered stream IDs (with the bit
Expand Down