mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-14 23:40:33 +08:00
It was possible to trigger multiple connection attempts to the same peer, since we didn't track connection attempts that hadn't yet returned to the service via `Service::attempted`. With this change, we add an extra `Initial` state to sessions, so that redundant connections are not attempted when one is already under way.