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
mux-h2: stream-scoped errors close the whole connection #1751
The H2 mux answers several stream-scoped errors with GOAWAY, which closes the connection and every in-flight stream on it, where RFC 9113 calls for a stream error (RST_STREAM) or for ignoring the frame:
DATA or HEADERS on a half-closed (remote) stream: stream error STREAM_CLOSED (RFC 9113 §5.1).
HEADERS without END_STREAM after the request or response header section (malformed message): stream error PROTOCOL_ERROR (RFC 9113 §8.1, §8.1.1).
Frames received on a stream after sending RST_STREAM on it: ignored after minimal processing (RFC 9113 §5.1). DATA currently draws a second RST_STREAM, HEADERS a GOAWAY(STREAM_CLOSED).
PRIORITY frame with a length other than 5: stream error FRAME_SIZE_ERROR (RFC 9113 §6.3).
Activity
fix(mux-h2): answer stream-scoped errors with RST_STREAM instead of G…