You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stream_send while tx_cap is 0 does not create a new stream #1125
On both 0.10.0 and master calling stream_send with a new stream id while tx_cap is 0 does not internally create a new stream. (behavior introduced here and modified on master in #1099)
This is an issue in my application because, if a new stream is not created in quiche, writable() will never trigger further attempts to send that stream's data.
Moving get_or_create_stream before the tx_cap check passes my use case. See 94c9a06 for my test and patch.
The patch breaks two preexisting tests that try to initiate a stream with ID 8 (Client-Initiated, Bidirectional) from the server. Earlier stream_send would just return Error::Done since the cap was reached, but now the other error is returned first.
Fixed by c9311a1, released in 0.17.1. stream_send() now creates the stream before it checks the connection's send capacity, so the stream exists even when the call returns Done.
Activity
ghedo commentedon Nov 25, 2026
Fixed by c9311a1, released in 0.17.1.
stream_send()now creates the stream before it checks the connection's send capacity, so the stream exists even when the call returnsDone.