-
Notifications
You must be signed in to change notification settings - Fork 961
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(mdns): move IO off main task #4623
Conversation
We create and destroy the interface states as the come up. Waking the interface states only _sends_ queries but does not influence what we send in response. We always respond with the up-to-date listen addresses anyway.
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.
Looks good to me overall.
This turned out to be a breaking change because channels are not unwind-safe (see rust-lang/futures-rs#2772 and https://github.com/libp2p/rust-libp2p/actions/runs/6508062283/job/17676692014?pr=4623). Because we now store channels within |
This comment was marked as resolved.
This comment was marked as resolved.
This pull request has merge conflicts. Could you please resolve them @thomaseizinger? 🙏 |
@mergify refresh |
✅ Pull request refreshed |
Thanks Thomas. This has been a long standing issue! |
Description
Resolves: #2591.
Notes & open questions
Change checklist