quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.57k stars 364 forks source link

Unclear which, if any `RecvStream::read_*` methods are cancel-safe #1763

Closed cherryman closed 4 months ago

cherryman commented 4 months ago

Presumably RecvStream::read` can be cancelled and retried without missing reads, but I'm not sure just from the docs.

Ralith commented 4 months ago

Good question. Addressed in https://github.com/quinn-rs/quinn/pull/1764.