upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-25 11:21:45 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-25 11:48:13 +0000
commit319bb7fa2c984da45422fa81d12b4a5226beb493 (patch)
treebb05a39180cf0513434a0cdd63fd25b4788066c5 /Cargo.lock
parent3a17877bcdabc9d6721e3054c2bb07a892f32147 (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.lock2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 8d63861..97aa90a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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]