Reset and graceful shutdown
05A broken stream and a broken connection require different signals.
The inclusive last-stream ID bounds possible processing, not completed responses. Higher IDs are unprocessed.
Key idea: RST_STREAM terminates the named stream without closing every other stream.
Rules & examples
RST_STREAM terminates the named stream without closing every other stream.
- RST_STREAM terminates the named stream without closing every other stream.
- GOAWAY gives the highest peer-initiated stream ID that might have been acted on: IDs up to and including it may have been processed, not necessarily completed. Higher IDs are unprocessed.
- After receiving GOAWAY, the receiver MUST NOT open additional streams on this connection; new streams need a new connection.
- Do not blindly retry non-idempotent work whose outcome is uncertain.
RFC 9113 §6.8 defines the inclusive processing bound and prohibition on new streams; §8.7 distinguishes retryable unprocessed requests from uncertain outcomes. RST_STREAM remains specific to one stream.
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.