Skip to content

refactor: split empty data frame count from budget - #945

Merged
seanmonstar merged 1 commit into
masterfrom
sean/stmypoltrkzw
Aug 21, 2026
Merged

refactor: split empty data frame count from budget#945
seanmonstar merged 1 commit into
masterfrom
sean/stmypoltrkzw

Conversation

@seanmonstar

Copy link
Copy Markdown
Member

cc #944

@seanmonstar
seanmonstar merged commit 3850acd into master Aug 21, 2026
6 checks passed
@seanmonstar
seanmonstar deleted the sean/stmypoltrkzw branch August 21, 2026 20:19
Sruhvx-jpg added a commit to Sruhvx-jpg/h2 that referenced this pull request Aug 23, 2026
Problem

HTTP/2 flow control limits DATA payload bytes, but not the framing overhead
from excessive numbers of small frames. A peer could fragment data into many
tiny frames, causing disproportionate memory usage from queued events while
remaining within flow-control windows.

Solution

Backport the framing overhead budget and empty frame handling from master
(hyperium#935, hyperium#940, hyperium#942, hyperium#945, hyperium#946) to the 0.3.x maintenance branch.

Validation

Ran the full test suite and added regression integration tests in stream_states.rs.
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.

1 participant