cloudflare / cloudflare/quiche

Allow to open streams with zero length buffer and observe these on the remote peer

Open
#731 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
11.8k
Forks
1.1k
Avg merge
21h 9m
Merged PRs (30d)
6

Description

At the moment when `Connection::send_stream(...)` is called with a zero length data buffer (no fin flag) it will succeed but it will not be "observed" on the remote peer. I think this is because you optimize for the amount of data that is written on the wire.

That said I think it sometimes would still be useful to also send this empty stream frame over the wire in the case when you want to open a stream from one peer and start writing from the other without the need to receive any data first. I know you could argue that for such a use-case you may be better off to just open the stream from the other peer in the first place but still I think this is a valid use-case which matches what should be possible based on the quic RFC.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.