-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Description
QUIC has a limit on the maximum number of open streams at any one time. However it seems it might sometimes be a bit easy to accidentally leave a stream open.
The problem is that if you know the exact size of the message on the stream, e.g. due to a length-prefixed message, you might read exactly this many bytes. But you need to read "past" the end of the stream to have consumed the whole stream. So reading the exact number of bytes might still leave you with an open stream.
I think this has affected multiple people independently, so it would be good to:
- Reproduce this so we are absolutely clear about the semantics.
- Figure out if we can improve the API to make this less brittle.
Metadata
Metadata
Assignees
Type
Projects
Status
No status