[Bug 51501] Avahi doesn't notify us when a contact drops off the network.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 4 14:52:25 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51501

--- Comment #6 from Ajay Garg <ajaygargnsit at gmail.com> 2012-07-04 05:52:25 PDT ---
(In reply to comment #4)
> (In reply to comment #3)
> > Sure enough, there doesn't seem to be any
> > immediate notification. Avahi doesn't give Salut any indication. I don't know
> > how Avahi is supposed to deal with this—I would personally expect the contacts
> > to disappear after a while
> 
> If the contact deliberately goes offline (e.g. Telepathy Disconnect() method or
> setting their IM status to Offline), you should see them disappear straight
> away, as Will did, because Avahi sends an mDNS "goodbye" packet. If they just
> disconnect from wifi, Avahi doesn't get a chance to do that - by the time it
> finds that connectivity has been lost, it's too late for it to send "goodbye",
> because it has already lost connectivity!

I had exactly the same intuition !!





> 
> What ought to happen is that the contact is considered to be present until the
> TTL (time-to-live) of the mDNS record runs out; then you should see the contact
> disappear.

Me too thought on similar lines. 

That's why, I had enquired that whether we do need the unstable, experimental
http://telepathy.freedesktop.org/spec/Connection_Interface_Keepalive.html :)






> 
> https://tools.ietf.org/html/draft-cheshire-dnsext-multicastdns-15#section-10
> suggests that the time-to-live of the mDNS record is likely to be 120 seconds,
> although we might set it to something else in Salut.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list