diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-25 11:21:45 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-25 11:48:13 +0000 |
| commit | 319bb7fa2c984da45422fa81d12b4a5226beb493 (patch) | |
| tree | bb05a39180cf0513434a0cdd63fd25b4788066c5 /Cargo.lock | |
| parent | 3a17877bcdabc9d6721e3054c2bb07a892f32147 (diff) | |
fix IPv6 connection failures with Happy Eyeballs (RFC 8305)
Implement a custom WebSocketTransport that races IPv6 and IPv4 connections
with a 250ms head start for IPv6, matching browser behavior. This prevents
broken IPv6 from blocking all relay connections indefinitely.
This is a temporary fix until the upstream async-wsocket PR is merged:
https://github.com/shadowylab/async-wsocket/pull/42
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -1538,6 +1538,7 @@ dependencies = [ | |||
| 1538 | "anyhow", | 1538 | "anyhow", |
| 1539 | "assert_cmd", | 1539 | "assert_cmd", |
| 1540 | "async-trait", | 1540 | "async-trait", |
| 1541 | "async-wsocket", | ||
| 1541 | "auth-git2", | 1542 | "auth-git2", |
| 1542 | "chacha20poly1305", | 1543 | "chacha20poly1305", |
| 1543 | "chrono", | 1544 | "chrono", |
| @@ -1568,6 +1569,7 @@ dependencies = [ | |||
| 1568 | "serial_test", | 1569 | "serial_test", |
| 1569 | "test_utils", | 1570 | "test_utils", |
| 1570 | "tokio", | 1571 | "tokio", |
| 1572 | "tokio-tungstenite 0.26.2", | ||
| 1571 | "urlencoding", | 1573 | "urlencoding", |
| 1572 | "zeroize", | 1574 | "zeroize", |
| 1573 | ] | 1575 | ] |