-
Notifications
You must be signed in to change notification settings - Fork 1k
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(tcp): remove correct listener inTransport::remove_listener
#3387
Conversation
d41d6d3
to
f182108
Compare
libp2p_tcp::Transport::remove_listener
libp2p_tcp::Transport::remove_listener
libp2p_tcp::Transport::remove_listener
Transport::remove_listener
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Thanks for adding a test too!
Just one request about the changelog entry!
f182108
to
fbec93f
Compare
Thanks for the speedy feedback @thomaseizinger! Updated the changelog with your suggestion and a PR link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix!
* Adds `server::APIServer`, a web server for local interaction of name system node. * Adds `server::HTTPClient` for interfacing with `server::APIServer`. * `NameSystemClient` trait introduced, implemented by both `NameSystem` `and server::HTTPClient`. * Uses my own fork of libp2p (0.51.0) with libp2p/rust-libp2p#3387 changes.
…e stored listeners.
fbec93f
to
73c9636
Compare
Approvals have been dismissed because the PR was updated after the send-it
label was applied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to force-push / update the PR unless there are conflicts, the merge bot will handle it.
@Mergifyio refresh |
✅ Pull request refreshed |
Approvals have been dismissed because the PR was updated after the send-it
label was applied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @jsantell for both debugging and providing the patch!
Approvals have been dismissed because the PR was updated after the send-it
label was applied.
I am planning to cut |
Thanks for the merge! |
* Adds `server::APIServer`, a web server for local interaction of name system node. * Adds `server::HTTPClient` for interfacing with `server::APIServer`. * `NameSystemClient` trait introduced, implemented by both `NameSystem` `and server::HTTPClient`. * Uses an interim version of libp2p (0.51.0) with libp2p/rust-libp2p#3387 changes, until the major 0.51.0 release.
* Adds `server::APIServer`, a web server for local interaction of name system node. * Adds `server::HTTPClient` for interfacing with `server::APIServer`. * `NameSystemClient` trait introduced, implemented by both `NameSystem` `and server::HTTPClient`. * Uses an interim version of libp2p (0.51.0) with libp2p/rust-libp2p#3387 changes, until the major 0.51.0 release.
Description
libp2p_tcp::Transport::remove_listener
previously removed the first listener that did not match the providedListenerId
. This small fix brings it inline with other implementations.Change checklist