Skip to content

Conversation

@LPardue
Copy link
Contributor

@LPardue LPardue commented Apr 20, 2021

Previously, quiche kept all details about the relationship between
stream capacity and writable DATA internal. This could lead to awkward
situations where quiche would report a stream as writable,
quiche::conn::stream_capacity() could report a non-zero value, but
send_body() might not send anything due to DATA frame overheads.

This change introduces the quiche::h3::conn::body_capacity() helper
function to help applications determine the amount of usable capacity.

@LPardue LPardue added the hold Do not merge label Apr 20, 2021
@LPardue LPardue requested a review from a team as a code owner April 20, 2021 15:27
Previously, quiche kept all details about the relationship between
stream capacity and writable DATA internal. This could lead to awkward
situations where quiche would report a stream as writable,
`quiche::conn::stream_capacity()` could report a non-zero value, but
`send_body()` might not send anything due to DATA frame overheads.

This change introduces the `quiche::h3::conn::body_capacity()` helper
function to help applications determine the amount of usable capacity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold Do not merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant