Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP * Fixes * Minimize diff * Progress * Fix clippy * Reduce diff to main * Use RefCell * Make Pacer use PmtudState * Renamings * Fix tests broken by changing PATH_MTU_V6 * WIP * Finalize * Update neqo-transport/src/path.rs Co-authored-by: Martin Thomson <mt@lowentropy.net> Signed-off-by: Lars Eggert <lars@eggert.org> * Address comments * Update neqo-transport/src/pmtud.rs Co-authored-by: Martin Thomson <mt@lowentropy.net> Signed-off-by: Lars Eggert <lars@eggert.org> * Remove PmtudRef from ClassicCongestionControl * Disable PMTUD by default, except for demo client and server, and simulator * Fix clippy * Make Pmtud part of Pacer only * These are now `const_assert`s * Cleanups * Address more comments * Cleanups * Add some initial tests * Fix clippy * Minimize diff * Probe with non-padding data * Search table based on TMA paper * Deal with PMTU reductions * Fix crypto invocation limits * Fix comment * More comments * Add PMTU_RAISE_TIMER * Lost PMTUD probes do not elicit a congestion control reaction * Update pacer when MTU changes * Better way to update pacer * Fix last commit * Potential fix for bench * Update neqo-transport/src/pmtud.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-transport/src/pmtud.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-transport/src/pmtud.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-transport/src/cc/classic_cc.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Undo * Simplifications * rustfmt * Disarm raise timer when it fired * test script that triggers the bug * Revert test.sh (modulo bug fix) * Increase coverage * Better test * Another test * let Some(...) instead of testing Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Martin Thomson <mt@lowentropy.net> * Fix * static_assertions to dev-dependencies * Panic on failure * Fixes after merge * Make test-only plpmtu() panic on error * set_confirmed * invocations_base -> largest_packet_len * Simplify * Set builder limit in output_path() * fmt * A bunch of changes based on Martin's review * Avoid spurious PMTUD restarts better. Possible perf. optimizations. * Improve coverage * Enable PMTUD for simulator * Update neqo-transport/src/connection/mod.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-transport/src/connection/mod.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-transport/src/connection/mod.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-transport/src/packet/mod.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-transport/src/stats.rs Co-authored-by: Max Inden <mail@max-inden.de> Signed-off-by: Lars Eggert <lars@eggert.org> * Suggestions from Max * Update neqo-transport/src/pmtud.rs Co-authored-by: Martin Thomson <mt@lowentropy.net> Signed-off-by: Lars Eggert <lars@eggert.org> * Suggestions from Martin * More suggestions * Add TODO * Use filter fn Follow-up on #1903 (comment) * clippy * Fixes * doc fix * refactor(pmtud): implement Copy for Probe `Probe` is a small simple enum on the stack, thus convention is to implement `Copy` instead of only `Clone` with a call to `clone()`. The following helped me in the past: > When should my type be Copy? > > Generally speaking, if your type can implement Copy, it should. Keep in mind, > though, that implementing Copy is part of the public API of your type. If the > type might become non-Copy in the future, it could be prudent to omit the Copy > implementation now, to avoid a breaking API change. https://doc.rust-lang.org/std/marker/trait.Copy.html#when-should-my-type-be-copy * Make search_tables identical length, and deal with the fallout * More --------- Signed-off-by: Lars Eggert <lars@eggert.org> Signed-off-by: Martin Thomson <mt@lowentropy.net> Co-authored-by: Martin Thomson <mt@lowentropy.net> Co-authored-by: Max Inden <mail@max-inden.de>
- Loading branch information