Skip to content

Prevent duplicate connections when dialing a multiaddr without a peer idΒ #2714

Open
@achingbrain

Description

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.

Metadata

Assignees

No one assigned

    Labels

    exp/beginnerCan be confidently tackled by newcomersgood first issueGood issue for new contributorskind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions