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 : Announcing static addresses for mDNS #3096

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

MOHANKUMAR-IT
Copy link

Re-register proxy on local address change event from libp2p host

  • Subscribe to local address update events from libp2p host
  • On address change, shut down the existing mDNS server and re-register with updated address

FIxes : #1163

MOHANKUMAR-IT and others added 6 commits December 9, 2024 21:58
- Subscribe to local address update events from libp2p host
- On address change, shut down the existing mDNS server and re-register with updated address
- Subscribe to local address update events from libp2p host
- On address change, shut down the existing mDNS server and re-register with updated address
@MarcoPolo
Copy link
Collaborator

Did you manage to test that this works for you? I wonder if we have to start the resolver as well.

@MarcoPolo
Copy link
Collaborator

I think we do need to restart the resolver as well.

Could you please add a test case as well?

@MOHANKUMAR-IT
Copy link
Author

I'll also add a test case to ensure the behavior is covered and working as expected. Thank you for pointing it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

advertise updated addresses via mDNS
2 participants