From 4b0a253036d44d22e344d4e8b070035e521e5e45 Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Mon, 11 Aug 2008 10:36:06 +0000 Subject: Update doc/tubes.txt 20080811103606-a41c0-4fc57c7790d33bfaec0a9754f29391794c5fc1a6.gz --- docs/tubes.txt | 114 +++++++-------------------------------------------------- 1 file changed, 14 insertions(+), 100 deletions(-) (limited to 'docs') diff --git a/docs/tubes.txt b/docs/tubes.txt index 6b56b652..62e1b548 100644 --- a/docs/tubes.txt +++ b/docs/tubes.txt @@ -8,135 +8,49 @@ http://telepathy.freedesktop.org/xmpp/tubes.html - 1-1 D-Bus tubes -Not tested, work in progress. +Not tested - 1-1 stream tubes -Implemented. The XMPP spec is not finalized. The current code uses -stream-initiation (XEP-0095). +Implemented. The XMPP spec is the following. Initiator to receptor: offer the tube: + id="8849419577"> - + id="364091438" + xmlns="http://telepathy.freedesktop.org/xmpp/tubes"> + + + Receptor to initiator: acknowledgment of the offer + id="8849419577"/> This acknowledgment should be used to accept the tube. However the current code ignores the acknowledgment. The tube will be accepted on the initiator side when the first stream will be requested by the receptor. Gabble has a similar problem, see https://bugs.freedesktop.org/show_bug.cgi?id=16595 -Receptor to initiator: Request first stream in the stream tube with SI: - - - - - - - - - - - - - +The id of the iq stanza should be stored to reply later when the application +runs AcceptStreamTube or CloseTube. -Initiator to receptor: accept the stream (SI): - - - - - - jabber:iq:oob - - - - - - - -Receptor to initiator: gives the x-tcp address - - - x-tcp://alban-hp.local:41651 - - -- Tube is used -- Receptor to initiator: close the tube - - - - -Initiator to receptor: acknowledges the x-tcp address (why so late?) - - - -Initiator to receptor: closes the tube, again - - - - - -Receptor to initiator: acknowledges the close request - - - -Receptor to initiator: acknowledgmes the close request, again +Initiator to receptor: acknowledges the close request - -Note that the close message is sent twice. Gabble does the same. See bug +Note that the close message is sent twice. This must be fixed. Gabble has the +same bug: https://bugs.freedesktop.org/show_bug.cgi?id=16797 -- cgit v1.2.1