You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mux-h2): frames on a stream Sōzu reset end the connection with GOAWAY(STREAM_CLOSED) #1783
After Sōzu sends RST_STREAM on an H2 stream, a frame the peer sent before reading that reset is treated as a protocol error: a HEADERS frame (for instance a trailer block) on the stream is answered GOAWAY(STREAM_CLOSED), which ends every other stream of the connection, and a DATA frame is answered with a second RST_STREAM(STREAM_CLOSED).
RFC 9113 §5.1: an endpoint MUST ignore frames that it receives on closed streams after it has sent a RST_STREAM frame. A HEADERS block on such a stream must still be decoded to keep the HPACK dynamic table in sync (§4.3), and DATA still counts toward connection flow control (§6.9).
Expected: these frames are ignored, for a bounded set of recently reset streams.
Activity
fix(mux-h2): discard CONTINUATION of an ignored block, spare in-fligh…
fix(mux-h2): bound header blocks ignored on a reset stream
docs(changelog): align the #1753 entry with the merged reset-stream h…
Merge branch 'main' into fix/h2-ignore-frames-on-reset-stream
fix(mux-h2): spare in-flight frames on a reset stream, discard CONTIN…