Skip to content

fix: Release flow control capacity when RecvStream is dropped - #930

Merged
seanmonstar merged 1 commit into
hyperium:masterfrom
ArniDagur:fix/recv-stream-drop-releases-connection-capacity
Aug 10, 2026
Merged

fix: Release flow control capacity when RecvStream is dropped#930
seanmonstar merged 1 commit into
hyperium:masterfrom
ArniDagur:fix/recv-stream-drop-releases-connection-capacity

Conversation

@ArniDagur

Copy link
Copy Markdown
Contributor

Dropping RecvStream discards buffered DATA, but doesn't release connection-level flow control capacity until all stream references are dropped.

That can starve other streams of flow control capacity. With this change, we release capacity immediately on RecvStream drop.

@ArniDagur
ArniDagur force-pushed the fix/recv-stream-drop-releases-connection-capacity branch 3 times, most recently from 27b0876 to 686fe1b Compare August 8, 2026 21:29
Dropping `RecvStream` discards buffered DATA, but doesn't release
connection-level flow control capacity until all stream references
are dropped.

That can starve other streams of flow control capacity. With this change,
we release capacity immediately on `RecvStream` drop.
@ArniDagur
ArniDagur force-pushed the fix/recv-stream-drop-releases-connection-capacity branch from 686fe1b to 7b6f5d7 Compare August 9, 2026 02:25
@seanmonstar
seanmonstar merged commit c9d619c into hyperium:master Aug 10, 2026
6 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