[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 12:19:06 CEST 2012


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

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-07-04 03:19:06 PDT ---
(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!

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.

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