Skip to content

Faulty peer disconnection notification logic #130

@vyzo

Description

@vyzo

If there are multiple connections to the same peer, then the disconnect notification is emitted even though the peer is still connected, breaking gossipsub's peer tracking.
See the logs in vacp2p/nim-libp2p#8

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA bug in existing code (including security flaws)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions