You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a mechanism to indicate to Zeroconf/AsyncZeroconf or ServiceBrowser/AsyncServiceBrowser that a cache entry might be stale, based on application level failures on connecting to advertised services?
The software implementing the Multicast DNS resource record cache
should provide a mechanism so that clients detecting stale rdata can
inform the cache.
When the cache receives this hint that it should reconfirm some
record, it MUST issue two or more queries for the resource record in
dispute. If no response is received within ten seconds, then, even
though its TTL may indicate that it is not yet due to expire, that
record SHOULD be promptly flushed from the cache.
So it looks like an optional feature according to the RFC, but would be nice to have (if it's not there already, I'm new to this library).
The text was updated successfully, but these errors were encountered:
Cool! I can't promise anything, but I might try if I find the time. Anyway, I think the rough outline of such a feature would be:
a (possibly synchronous) method of Zeroconf and AsyncZeroconf that requests this reconfirmation of a given cache record. Doesn't return anything, semantically it just "pokes" the cache.
If reconfirmation fails then users of Zeroconf are notified similarly as if the resource was flushed due to TTL expiration (I assume that browsers get a ServiceStateChange.Removed, not sure if they get any other metadata, or if they need to).
Is there a mechanism to indicate to
Zeroconf
/AsyncZeroconf
orServiceBrowser
/AsyncServiceBrowser
that a cache entry might be stale, based on application level failures on connecting to advertised services?https://datatracker.ietf.org/doc/html/rfc6762#section-10.4
So it looks like an optional feature according to the RFC, but would be nice to have (if it's not there already, I'm new to this library).
The text was updated successfully, but these errors were encountered: