quinn-rs / quinn

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

Fix cases of spurious transmit readiness #1227

Closed Ralith closed 2 years ago

Ralith commented 2 years ago

Fixes https://github.com/quinn-rs/quinn/issues/1196. Probably.

These fixes add extra work and don't address the complexity that led to the bug in the first place. https://github.com/quinn-rs/quinn/issues/1226 discusses possible future work to make this logic more fundamentally robust.