aboutsummaryrefslogtreecommitdiffstats
path: root/crates/config/src/import.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-22 16:30:45 +0000
committertv <tv@krebsco.de>2026-11-22 16:30:45 +0000
commit37940e51a0113c744042390a5226bda78fc1ab0d (patch)
treec1e6d512f9459ace51738257c1889445da7e1fa0 /crates/config/src/import.rs
parent1063c8ef8da08f76bdc75823a4c16924b55b0e8e (diff)
libp2p: dial a relayed peer directly even while another dial is under way
upgrade dialled with PeerCondition::NotDialing: while hole punching's dial went, the direct one didn't, and came only once that dial failed, which where packets are dropped is when it times out. Hole punching dials the address the relay saw, which may not answer where the peer's listen addresses do (a host with several, a port mapped otherwise). a_relayed_connection_is_upgraded_where_one_side_can_be_dialled hit that now and then: identify told b where a listens 1 ms after dcutr's dial began, and b didn't dial a within the test's 5 s. Now it dials regardless. Where both dials connect, the slower is closed after DUPLICATE_GRACE, as of any two. The retry on a failed dial goes: nothing waits on another dial any more; the next try comes as before (identify, mDNS, a send to the peer), UPGRADE_RETRY after the last.
Diffstat (limited to 'crates/config/src/import.rs')
0 files changed, 0 insertions, 0 deletions