<br><br><div class="gmail_quote">On Tue, Jul 10, 2012 at 4:55 AM, Patrick Oppenlander <span dir="ltr"><<a href="mailto:pattyo.lists@gmail.com" target="_blank">pattyo.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div class="im">
<div>On 05/07/12 20:19, Ajay Garg wrote:<br>
</div>
<blockquote type="cite">Hi all.<br>
<br>
I ran into a issue, as described at <a href="https://bugs.freedesktop.org/show_bug.cgi?id=51501" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=51501</a><br>
</blockquote>
<br></div>
This behaviour is not a bug. It's a side-effect of how MDNS is
(intentionally) designed.<br>
<br>
Your bug report states that the callback is not called. It will in
fact be called, it just takes a long time.</div></blockquote><div><br><br>Yes, I think it would.<br>But the callback is not called after 120 seconds. May be after 75 minutes.. but I haven't waited that long enough :)<br>
<br>Also, as per <a href="https://tools.ietf.org/html/draft-cheshire-dnsext-multicastdns-15#section-10">https://tools.ietf.org/html/draft-cheshire-dnsext-multicastdns-15#section-10</a>, the standard says that the timeout is expected to be 120 seconds.<br>
<br>So, at least making <br> #define
AVAHI_DEFAULT_TTL_HOST_NAME <br>
#define
AVAHI_DEFAULT_TTL <br> <br>configurable (and not hard-coded), would make it more convenient for personal customizations.<br><br><br>Just my 2 cents :)<br><br><br><br>Thanks and Regards,<br>Ajay<br>
<br><br><br><br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div class="im"><br>
<br>
<blockquote type="cite"><br>
<br>
I followed these steps ::<br>
<br>
a)<br>
I changed the values to<br>
<br>
#define
AVAHI_DEFAULT_TTL_HOST_NAME (20)<br>
#define
AVAHI_DEFAULT_TTL (20)<br>
</blockquote>
<br></div>
This is a pretty bad idea as these records will need to be refreshed
at 17 second intervals.<br>
<br>
Some people already consider mDNS to be a "chatty" protocol [1].
This kind of thing just exacerbates the problem.<br>
<br>
Patrick<br>
<br>
[1]
<a href="http://www.net.princeton.edu/filters/mdns.html" target="_blank">http://www.net.princeton.edu/filters/mdns.html</a>
</div>
<br>_______________________________________________<br>
avahi mailing list<br>
<a href="mailto:avahi@lists.freedesktop.org">avahi@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/avahi" target="_blank">http://lists.freedesktop.org/mailman/listinfo/avahi</a><br>
<br></blockquote></div><br>