[Telepathy] P2P tubes on link-local (Salut)

Alban Crequy alban.crequy at collabora.co.uk
Fri Apr 18 15:23:12 PDT 2008

Le Fri, 18 Apr 2008 11:50:27 +0100,
Alban Crequy <alban.crequy at collabora.co.uk> a écrit :

> - <message> stanzas are avoided to advertise and establish a tube:
> <iq> is more relevant for things that look like method calls and
> method returns, and we avoid this bug:
>   https://bugs.freedesktop.org/show_bug.cgi?id=14485

If I offer a tube with a <message> stanza to a remote Jabber client that
does not support tubes, the message will just be ignored and I will wait
the reply forever. With an <iq> stanza, the remote client will reply
with an error:

<iq from=... type="error" to=... id="101" >
<error type="cancel" >
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

So my connection manager can close the tube and I can get a feedback
in the UI.


More information about the Telepathy mailing list