Multiplexed streams
02Frames for several exchanges share a connection, with stream identifiers keeping their state separate.
END_STREAM closes one sending direction without closing unrelated streams.
Key idea: A stream is a bidirectional frame sequence; stream 0 is connection control.
Rules & examples
A stream is a bidirectional frame sequence; stream 0 is connection control.
- A stream is a bidirectional frame sequence; stream 0 is connection control.
- Client-initiated streams use odd identifiers; server-initiated streams use even identifiers.
- Multiplexing does not eliminate TCP head-of-line blocking.
Examples are illustrative. Consult the linked RFC and its errata for implementation details.
Sources
New to this? Start hereA quick picture + helpful background
A request starts a conversation.
A client asks for a resource. A server sends a response. The method, address, headers, and status explain what that conversation means.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.