Skip to content

core/: Concurrent connection attempts - aka. happy eyeball #1896

@quininer

Description

@quininer

I noticed that libp2p currently only tries next address when one address fails, which causes some users to wait a long time when trying to connect to an unavailable ipv6 address.

Maybe we can try to use a fast fallback strategy like happy eyeballs v2 to quickly connect to available addresses.

I don't know if there are some special reasons that limit connection strategy of libp2p, if not, I will be happy to implement one.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions