Commit Graph

4063 Commits

Author SHA1 Message Date
dependabot[bot] 2b51fa7203 build(deps): bump log from 0.4.28 to 0.4.29
Bumps [log](https://github.com/rust-lang/log) from 0.4.28 to 0.4.29.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.28...0.4.29)

---
updated-dependencies:
- dependency-name: log
  dependency-version: 0.4.29
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 13:12:51 +00:00
Dirkjan Ochtman 67fcd79020 quinn: remove indirection in connection initialization 2025-12-04 06:19:54 +00:00
Dirkjan Ochtman 4e3711f65a quinn: import more types 2025-12-04 06:10:02 +00:00
Dirkjan Ochtman c5ab01a75e proto: drop unused From impl 2025-12-04 06:10:02 +00:00
Dirkjan Ochtman 98e2c26325 proto: use new constructor where possible 2025-12-04 06:10:02 +00:00
Dirkjan Ochtman a1bdfd6113 Take semver-compatible dependency updates 2025-12-04 06:10:02 +00:00
Michael Neumann 8bf6825da7 Fix quinn-udp on DragonFly BSD
- There is no libc::IP_RECVTOST defined for DragonFly. We do support it
  in the kernel, but it's not yet defined in libc.

- There is no recvmmsg(2) support in DragonFly kernel.
2025-11-29 07:48:23 +00:00
Mateusz Szczygieł 67ededbc9e Add an option to retrieve TLS errors
Signed-off-by: Mateusz Szczygieł <mateusz.szczygiel@nordsec.com>
2025-11-26 09:55:39 +00:00
Marcus Medom Ryding 5334839f95 Track handshake confirmation 2025-11-26 09:31:13 +00:00
Dirkjan Ochtman f90254a410 quinn: statically hide default_runtime() if unavailable 2025-11-26 05:59:25 +00:00
dependabot[bot] d2cdd65ca4 build(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 14:24:51 +00:00
Dirkjan Ochtman 9596c7a261 quinn: hide implicit feature for optional smol dependency 2025-11-18 08:26:03 +00:00
Dirkjan Ochtman 1ffd9cd83f quinn: simplify cfg guards for runtime-smol 2025-11-18 08:26:03 +00:00
Dirkjan Ochtman 4c17321999 quinn: rename async_io module to smol 2025-11-18 08:26:03 +00:00
Dirkjan Ochtman 42bc17f812 quinn: move runtime module to be closer to its child modules 2025-11-18 08:26:03 +00:00
dependabot[bot] ac22065c29 build(deps): bump bytes from 1.10.1 to 1.11.0
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.10.1...v1.11.0)

---
updated-dependencies:
- dependency-name: bytes
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 13:31:37 +00:00
Cathal Mullan 35cefdd003 Bump MSRV to 1.80, remove once_cell and lazy_static deps 2025-11-14 18:29:03 +00:00
dependabot[bot] 7fc33f4143 build(deps): bump hex-literal from 1.0.0 to 1.1.0
Bumps [hex-literal](https://github.com/RustCrypto/utils) from 1.0.0 to 1.1.0.
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v1.0.0...hex-literal-v1.1.0)

---
updated-dependencies:
- dependency-name: hex-literal
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-11 09:17:23 +00:00
dependabot[bot] 425b8b45f6 build(deps): bump console-subscriber from 0.4.1 to 0.5.0
Bumps [console-subscriber](https://github.com/tokio-rs/console) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/tokio-rs/console/releases)
- [Changelog](https://github.com/tokio-rs/console/blob/main/release-plz.toml)
- [Commits](https://github.com/tokio-rs/console/compare/console-subscriber-v0.4.1...console-subscriber-v0.5.0)

---
updated-dependencies:
- dependency-name: console-subscriber
  dependency-version: 0.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-11 09:16:51 +00:00
Philipp Krüger b699e5c815 Avoid underflow panic in packet loss Instant calculations 2025-11-11 07:27:00 +00:00
Philipp Krüger 4f7f3e7d82 Remove instant_saturating_sub fn in favor of Instant::saturating_duration_since 2025-11-11 07:27:00 +00:00
Philipp Krüger 8c0f2a21e9 Refactor QlogSink::emit_packet_lost to take loss_delay instead of lost_send_time 2025-11-11 07:27:00 +00:00
Dirkjan Ochtman 84d392c23a Apply suggestions from clippy 1.91 2025-11-03 12:04:22 +01:00
Dirkjan Ochtman eee334dff6 ci: drop netbsd testing 2025-10-30 05:36:24 +00:00
Dirkjan Ochtman 994ab35b9f ci: pin wasm-bindgen-cli to match lockfile 2025-10-30 05:36:24 +00:00
Dirkjan Ochtman 8141831760 Take semver-compatible updates 2025-10-30 05:36:24 +00:00
dependabot[bot] 491b8b5deb build(deps): bump rustls-platform-verifier from 0.6.1 to 0.6.2
Bumps [rustls-platform-verifier](https://github.com/rustls/rustls-platform-verifier) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/rustls/rustls-platform-verifier/releases)
- [Changelog](https://github.com/rustls/rustls-platform-verifier/blob/main/CHANGELOG)
- [Commits](https://github.com/rustls/rustls-platform-verifier/compare/v/0.6.1...v/0.6.2)

---
updated-dependencies:
- dependency-name: rustls-platform-verifier
  dependency-version: 0.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 14:09:05 +00:00
ice-user 0a6635d6b7 fix(pacing): allow ±0ns tolerance in computes_pause_correctly test on i386
-Used Duration::abs_diff() instead of manual difference for cleaner and more robust duration comparison.
-added inline formatting as required.
2025-10-27 12:08:05 +00:00
dependabot[bot] fc5e219fd9 build(deps): bump actions/setup-node from 4 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 14:04:18 +00:00
dependabot[bot] 1e44c69f86 build(deps): bump getrandom from 0.3.3 to 0.3.4
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/rust-random/getrandom/releases)
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/getrandom/compare/v0.3.3...v0.3.4)

---
updated-dependencies:
- dependency-name: getrandom
  dependency-version: 0.3.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 13:53:59 +00:00
David Emett e05a8e5a7e Relax MTU discovery state assertion
While we will never start probing before the connection has been
established, it is possible for black hole detection to trigger, which
will put MTU discovery into the Complete state.
2025-10-11 18:09:14 +00:00
David Emett a43918cfed Fix some comparisons in the black hole detector
Lost packets with size exactly matching the minimum MTU should not be
treated as suspicious; by definition the MTU will never be reduced below
this.

Similarly, lost packets with size exactly matching a more recent
successfully transmitted packet should not be treated as suspicious.
2025-10-11 18:09:14 +00:00
Pablo Sichert 719cc78866 Use saturating_mul when calculating congestion_period to not panic on overflow 2025-10-11 14:41:24 +00:00
Fabien Savy 531ca90ec9 spurious loss detection and recovery 2025-10-07 21:59:04 +00:00
Fabien Savy 6ce93786e2 regroup cubic state values 2025-10-07 21:59:04 +00:00
dependabot[bot] e340daa36e build(deps): bump serde from 1.0.226 to 1.0.228
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.226 to 1.0.228.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.226...v1.0.228)

---
updated-dependencies:
- dependency-name: serde
  dependency-version: 1.0.228
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 05:10:12 +00:00
dependabot[bot] 3dfd4c560d build(deps): bump windows-sys from 0.61.0 to 0.61.1
Bumps [windows-sys](https://github.com/microsoft/windows-rs) from 0.61.0 to 0.61.1.
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

---
updated-dependencies:
- dependency-name: windows-sys
  dependency-version: 0.61.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 05:05:22 +00:00
dependabot[bot] 2515f343c0 build(deps): bump rcgen from 0.14.4 to 0.14.5
Bumps [rcgen](https://github.com/rustls/rcgen) from 0.14.4 to 0.14.5.
- [Release notes](https://github.com/rustls/rcgen/releases)
- [Commits](https://github.com/rustls/rcgen/compare/v0.14.4...v0.14.5)

---
updated-dependencies:
- dependency-name: rcgen
  dependency-version: 0.14.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 05:03:51 +00:00
dependabot[bot] 93b6d01605 build(deps): bump serde from 1.0.225 to 1.0.226
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.225 to 1.0.226.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.225...v1.0.226)

---
updated-dependencies:
- dependency-name: serde
  dependency-version: 1.0.226
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 13:26:55 +00:00
Dirkjan Ochtman a730d3dd58 Update semver-compatible dependencies 2025-09-19 21:27:00 +00:00
Dirkjan Ochtman b450a2e758 Fix warning about unneeded sub cfg 2025-09-19 21:27:00 +00:00
dependabot[bot] aaf63545cb build(deps): bump async-io from 2.5.0 to 2.6.0
Bumps [async-io](https://github.com/smol-rs/async-io) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/smol-rs/async-io/releases)
- [Changelog](https://github.com/smol-rs/async-io/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/async-io/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: async-io
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-16 07:47:47 +00:00
dependabot[bot] f76410dc70 build(deps): bump serde from 1.0.219 to 1.0.223
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.219 to 1.0.223.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.219...v1.0.223)

---
updated-dependencies:
- dependency-name: serde
  dependency-version: 1.0.223
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 14:40:07 +00:00
dependabot[bot] da06312464 build(deps): bump rcgen from 0.14.3 to 0.14.4
Bumps [rcgen](https://github.com/rustls/rcgen) from 0.14.3 to 0.14.4.
- [Release notes](https://github.com/rustls/rcgen/releases)
- [Commits](https://github.com/rustls/rcgen/compare/v0.14.3...v0.14.4)

---
updated-dependencies:
- dependency-name: rcgen
  dependency-version: 0.14.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 13:31:53 +00:00
Seto 8449cf7ccb Add watchOS to BSD-like OS target list 2025-09-14 21:10:16 +00:00
Max Leonard Inden c1c56861cf fix(udp/unix): don't panic on unknown address family
We have reports that on some MacOS 10.15 systems, recvmsg can return a non IPv4
or IPv4 `RecvMeta`, potentially due to uninitialized memory. Instead of
panicking on an unknown address family, simply return an IO error.

Fixes https://github.com/quinn-rs/quinn/issues/2383.
2025-09-14 16:46:47 +00:00
Max Leonard Inden 74680528ca feat!(udp): mark RecvMeta as non_exhaustive
Mark `RecvMeta` as non exhaustive such that subsequent field additions are not
breaking changes.

Fixes https://github.com/quinn-rs/quinn/issues/2378.
2025-09-14 16:45:17 +00:00
Dirkjan Ochtman 3e302f7282 Upgrade windows-sys to 0.61 2025-09-08 20:31:52 +00:00
Dirkjan Ochtman c4eaafa950 Update semver-compatible dependencies 2025-09-08 20:31:52 +00:00
Sinh Pham c8970cf72e Add interface_index to RecvMeta 2025-09-07 03:44:54 +00:00