is it possible to preserve packet lengths with streamsend #1714
timprepscius
started this conversation in
General
Replies: 1 comment 8 replies
-
Nope. Just like a single TCP connection, each QUIC stream is a continuous stream of bytes where each app send is independent of the corresponding receive on the peer side. If you need to have logic splits between different sends, you need some app layer "protocol" to specify that split explicitly. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm guessing the answer is "it is a stream, not a set of packets." - but:
Currently if I streamsend packets of length:
1, 2, 3, 4, 5 immediately one right after another
I get a single packet of 15.
Is there a way within quic (I can do it myself of course), that I can get the original packets out?
(but of course have the coalescing during send for efficiency)
Beta Was this translation helpful? Give feedback.
All reactions