-
Notifications
You must be signed in to change notification settings - Fork 8
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
Handling avahi-daemon restarts for announced services #9
Comments
Yes, you're right. The code in the package currently fully relies on the Avahi daemon to persist the client's state, and does not do any extra caching. A cheap way out would be to inform the user of the package about the connection loss and off-load the work its way. But we could as well cache in the library. For browser functionality, the best thing we can do is to start from the beginning anyway. The only thing that needs attention is the entry group for publishing, right? |
It seems that if avahi-daemon has been restarted and therefore service registration is lost, go-avahi does not currently handle such events. Am I right? And if yes, what is the most straightforward way to handle such event in order to update/re-add the service on avahi-daemon?
The text was updated successfully, but these errors were encountered: