Skip to content

Commit faa891b

Browse files
fix(tunnel): per-deployment legacy fallback with auto-recovery (#290)
1 parent c677590 commit faa891b

2 files changed

Lines changed: 401 additions & 74 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ tun2proxy = { version = "0.7", default-features = false, features = ["udpgw"] }
9999
[dev-dependencies]
100100
# Used in mitm tests to sanity-check the cert extensions we emit.
101101
x509-parser = "0.16"
102+
# `test-util` enables `tokio::test(start_paused = true)` so timing-
103+
# sensitive tests in `tunnel_client` (the empty-poll cadence) can
104+
# auto-advance virtual time instead of burning real wall-clock seconds.
105+
tokio = { version = "1", features = ["test-util"] }
102106

103107
[profile.release]
104108
panic = "abort"

0 commit comments

Comments
 (0)