[avahi] Is it possible to customize "#define AVAHI_DEFAULT_TTL_HOST_NAME" and "#define AVAHI_DEFAULT_TTL", rather than embedding them "statically" in the code?
Patrick Oppenlander
pattyo.lists at gmail.com
Mon Jul 9 16:25:04 PDT 2012
On 05/07/12 20:19, Ajay Garg wrote:
> Hi all.
>
> I ran into a issue, as described at
> https://bugs.freedesktop.org/show_bug.cgi?id=51501
This behaviour is not a bug. It's a side-effect of how MDNS is
(intentionally) designed.
Your bug report states that the callback is not called. It will in fact
be called, it just takes a long time.
>
>
> I followed these steps ::
>
> a)
> I changed the values to
>
> #define AVAHI_DEFAULT_TTL_HOST_NAME (20)
> #define
> AVAHI_DEFAULT_TTL (20)
This is a pretty bad idea as these records will need to be refreshed at
17 second intervals.
Some people already consider mDNS to be a "chatty" protocol [1]. This
kind of thing just exacerbates the problem.
Patrick
[1] http://www.net.princeton.edu/filters/mdns.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20120710/3ee3f3a2/attachment.html>
More information about the avahi
mailing list