Prevent duplicate connections when dialing a multiaddr without a peer id #2714
Labels
exp/beginner
Can be confidently tackled by newcomers
good first issue
Good issue for new contributors
kind/enhancement
A net-new feature or improvement to an existing feature
If we dial a multiaddr without a peer id (e.g.
/dns/example.com
), and we exchange peer IDs with the remote, if we already have a non-circuit relay connection to that peer, the connection manager should close the new connection and return the existing connection.At the moment we end up with multiple connections to the same peer which wastes resources.
The text was updated successfully, but these errors were encountered: