Build a Smaller Quinn
- Build a deterministic
Connectionstate machine acceptingDatagramandTimeoutevents and yieldingTransmitandStreamEventvalues. - Test it with a simulated clock and two in-memory endpoints.
- Add an async UDP driver that feeds datagrams into the same core.
- Route connection IDs from one socket to several connection states.
- Expose
RecvStreamandSendStreamfutures with per-stream wakers. - Add stream and connection flow-control credit.
- Add retransmission deadlines and a simple congestion window.
- Bound work per driver poll and test that a hot connection cannot starve one quiet connection.
- Implement close, reset, drop behavior, and endpoint drain.
Production Quinn additionally supplies the full QUIC/TLS specifications, packet protection, migration, ECN, MTU discovery, 0-RTT, datagrams, batching, platform socket tuning, runtime adapters, fuzzing, and extensive simulations.