quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.76k stars 380 forks source link

Fold UdpState into AsyncUdpSocket #1612

Closed Ralith closed 1 year ago

Ralith commented 1 year ago

Allows knowledge of UdpState to be isolated entirely within AsyncUdpSocket implementations, simplifying quinn::Endpoint and the poll_send API, and exposing more control over UDP feature checks to implementers.

Fixes #1609.

djc commented 1 year ago

Ohh, nice!