Skip to content

UniqueConnec should allow dialing again if errored #320

@tomaka

Description

@tomaka

What should happen if we call UniqueConnec::get_or_dial, but the dialing fails with an error, and then we call get_or_dial again?
Should it immediately return a future with the error, or should it discard the error and try dialing again?

I can imagine that both behaviours are valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty:moderatepriority:importantThe changes needed are critical for libp2p, or are blocking another project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions