Repository navigation
Port VOT production patches to quiche 0.29.3 - #3
Merged
Merged
Conversation
Acknowledgements are processed in batches and the RTT estimate only samples the freshest packet of each batch. On a path whose RTT is close to or below the granularity of ack processing, the time and packet thresholds declare packets lost whose acknowledgements have not had a chance to be processed yet. Each spurious declaration triggers a retransmission and a congestion event for a packet that was delivered. This adds a config option, off by default, that floors the loss delay at the slowest send-to-processed-ack loop observed in the last 512ms, and applies the packet reordering threshold only to packets older than that loop. Both recovery implementations are covered. Measured on a 10GbE path with 0.2-0.6ms RTT, six connections carrying 1GB with CUBIC: declared losses fell from 25-30k per run to 1.3-2.3k, acks that disproved a declaration fell from 8-10k to 100-200, and goodput rose from 7.9 to 8.8 Gbit/s median over five runs. (cherry picked from commit 0d2f354) Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Returns InvalidState when export_keying_material is called before connection establishment. Tests cover fresh and partial handshakes while retaining the existing established exporter checks. (cherry picked from commit 31a2d9c) Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Signed-off-by: David Torcivia <david.torcivia@gmail.com>
Signed-off-by: David Torcivia <david.torcivia@gmail.com>
davidtorcivia
marked this pull request as ready for review
August 19, 2026 05:24
Author
|
Independent exact-head review at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
VOT enables the optional loss floor to avoid false loss and congestion events when acknowledgements are processed in batches. It also uses TLS exporter material for channel-bound authorization and requires an explicit pre-establishment failure.
Validation
cargo test -p quiche --features gcongestion(1,110 unit tests and 45 doc tests)cargo +nightly fmt -- --checkStrict local Clippy reaches pre-existing
uninlined_format_argsfindings on the current base; this diff introduces none of those locations.