quinn-rs / quinn

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

Fix excessive receive buffer allocation #1611

Closed Ralith closed 1 year ago

Ralith commented 1 year ago

Allocation logic previously considered a GRO batch to be one datagram, rather than (when supported) 64. This led to an unintended 128MiB allocation, now scaled back down to ~4MiB.

Fixes #1608.

djc commented 1 year ago

Closing this, as we decided to merge #1615 instead.