summaryrefslogtreecommitdiffhomepage
path: root/talpid-wireguard/src/mtu_detection.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-09-23Upgrade `rand` to `0.9` in `talpid-wireguard`Markus Pettersson1-7/+6
Document why `rand` can't be upgraded in `wireguard_nt::daita`
2025-07-10Run `cargo fmt`Sebastian Holmin1-3/+5
2025-06-10Update nix to 0.30 everywhereJoakim Hulthe1-3/+7
2024-08-20Move MTU helpers to talpid-net crateDavid Lönnhager1-1/+1
2024-02-27Use `tokio::time::pause` to mock time in testsSebastian Holmin1-117/+137
2024-02-27Make `max_ping_size` only take `FuturesUnordered` instead of being genericSebastian Holmin1-31/+64
2024-02-27Add unit test for MTU detectionSebastian Holmin1-39/+156
Split MTU detection into an inner pure function `max_ping_sized` and an outer function `detect_mtu` and add unit and prop-testing to the non io-dependent parts.
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-13/+10
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-13Fix MTU detection below min IPv6 value for windowsSebastian Holmin1-3/+19
2024-02-12Move MTU detection to separate moduleSebastian Holmin1-0/+193