Skip to content

Conversation

@nox
Copy link
Contributor

@nox nox commented Jan 20, 2025

Reclaiming requested capacity that has not been actually reserved yet is wrong, as this capacity never existed to begin with.

@nox
Copy link
Contributor Author

nox commented Jan 20, 2025

I'm wondering if scheduled resets should just be removed and send_reset be tweaked to not clear the send queue when called implicitly.

Reclaiming requested capacity that has not been actually reserved yet
is wrong, as this capacity never existed to begin with.
@nox nox force-pushed the fix-reclaim-reserved-capacity branch from 5017247 to 296f4c5 Compare January 20, 2025 14:57
@nox
Copy link
Contributor Author

nox commented Jan 20, 2025

I'm wondering if scheduled resets should just be removed and send_reset be tweaked to not clear the send queue when called implicitly.

I tried that, but you need the send buffer to queue a reset frame, and you can't reach the send buffer from drop_stream_ref.

@seanmonstar seanmonstar merged commit b109803 into master Jan 20, 2025
6 checks passed
@seanmonstar seanmonstar deleted the fix-reclaim-reserved-capacity branch January 20, 2025 15:35
GlenDC added a commit to plabayo/rama that referenced this pull request Feb 20, 2025
* Fix reclaiming reserved capacity (fixes <hyperium/h2#607>)
  by @nox in <hyperium/h2#832>
* Fix busy loop on shutdown by @seanmonstar
  in <hyperium/h2#834>
* Fix window size decrement of send-closed streams
  by @nox in <hyperium/h2#830>
* Fix handle implicit resets at the right time
  by @nox in <hyperium/h2#833>
* Fix poll_flush after poll_shutdown
  by @bdbai in <hyperium/h2#836>

Co-authored-by: Sean McArthur <sean@seanmonstar.com>
Co-authored-by: 包布丁 <htbai1998m@hotmail.com>
Co-authored-by: Anthony Ramine <123095+nox@users.noreply.github.com>
Co-authored-by: Samuel Tardieu <sam@rfc1149.net>
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.

3 participants