Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dcutr): remove direct handler #4013

Closed
mxinden opened this issue May 31, 2023 · 0 comments · Fixed by #4016
Closed

fix(dcutr): remove direct handler #4013

mxinden opened this issue May 31, 2023 · 0 comments · Fixed by #4016

Comments

@mxinden
Copy link
Member

mxinden commented May 31, 2023

Description

Remove libp2p_dcutr::handler::direct.

Motivation

The only reason why we have libp2p_dcutr::handler::direct::Handler is to emit an event once the direct connection is established. This has been needed, but with recent refactorings in libp2p-swarm one might as well just emit the event from the libp2p_dcutr::Behaviour right away.

See #3982 (comment) for details.

Are you planning to do it yourself in a pull request?

No

@mergify mergify bot closed this as completed in #4016 Jun 1, 2023
mergify bot pushed a commit that referenced this issue Jun 1, 2023
With recent refactorings in `libp2p-swarm`, there is no more need for `handler::direct` at all.

Resolves #4013.

Pull-Request: #4016.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant