Skip to content

Consume inbound frames received on expired H2 streams - #1546

Merged
arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:fix-expired-stream-frame-discard
Dec 3, 2026
Merged

arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:fix-expired-stream-frame-discard

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

A DATA, CONTINUATION or PUSH_PROMISE frame that caused its stream to be reset on idle timeout was dropped without being processed.

A dropped CONTINUATION with END_HEADERS left the connection expecting more CONTINUATION frames, so the next frame of any type failed it with PROTOCOL_ERROR. A dropped header block left the HPACK dynamic table out of sync with the peer. A dropped DATA frame was not counted against the connection window.

The stream is still reset, but the frame is now processed like any other frame received on a locally reset stream.

@ok2c ok2c added this to the 5.5.1 milestone Nov 30, 2026
A DATA, CONTINUATION or PUSH_PROMISE frame that caused its stream to be
reset on idle timeout was dropped without being processed. A dropped
CONTINUATION with END_HEADERS left the connection expecting more
CONTINUATION frames, so the next frame of any type failed it with
PROTOCOL_ERROR; a dropped header block left the HPACK dynamic table out
of sync with the peer; a dropped DATA frame was not counted against the
connection window.

The stream is still reset, but the frame is now processed like any other
frame received on a locally reset stream.
@arturobernalg
arturobernalg force-pushed the fix-expired-stream-frame-discard branch from df3130d to 74459ff Compare December 3, 2026 06:21
@arturobernalg
arturobernalg merged commit 52116ce into apache:master Dec 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants