Skip to content

fix: poll_capacity must not return Ready(Some(Ok(0)))#898

Open
ArniDagur wants to merge 1 commit intohyperium:masterfrom
ArniDagur:fix/poll-capacity-zero-after-settings-decrease
Open

fix: poll_capacity must not return Ready(Some(Ok(0)))#898
ArniDagur wants to merge 1 commit intohyperium:masterfrom
ArniDagur:fix/poll-capacity-zero-after-settings-decrease

Conversation

@ArniDagur
Copy link
Copy Markdown
Contributor

A WINDOW_UPDATE and SETTINGS decrease in the same poll can cancel each other out, resulting in zero capacity.

Return Pending, rather than Ready(Ok(0)). See #270

A WINDOW_UPDATE and SETTINGS decrease in the same poll can cancel each
other out, resulting in zero capacity.

Return `Pending`, rather than `Ready(Ok(0))`. See hyperium#270
@ArniDagur ArniDagur force-pushed the fix/poll-capacity-zero-after-settings-decrease branch from 62030d1 to 0d7e1a7 Compare May 2, 2026 19:10
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