quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.85k stars 394 forks source link

open connection without opening stream #1339

Closed sakridge closed 2 years ago

sakridge commented 2 years ago

In our application it is fairly latency sensitive and when we open the connection sometimes we are seeing multiple seconds to send the first stream bytes. We are able to predict when we need the connection somewhat before we know what to send. It didn't seem possible to open the connection without sending anything, is there actually a way to do this?

Ralith commented 2 years ago

Connections are initiated immediately upon request. It's not even possible to send stuff until the connection's open unless you're going out of your way to use 0-RTT.

sakridge commented 2 years ago

ok, thanks