-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
exp/noviceSomeone with a little familiarity can pick upSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)status/readyReady to be workedReady to be worked
Description
Unless I'm missing something, the identify protocol should inherit from the host's context, which would then ensure that its main loop end when the host is terminated.
At the moment this main loop is left running after the host's context get cancelled.
See https://github.com/libp2p/go-libp2p/blob/master/p2p/protocol/identify/id.go#L130
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
exp/noviceSomeone with a little familiarity can pick upSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)status/readyReady to be workedReady to be worked