[Standards] IBB session close errors

luca luca.tagliaferri at gmail.com
Tue Apr 13 15:26:15 UTC 2010


it could be useful to add an error stanza to the close stanza in analogy 
with qhat happens in jingle file transfer
(http://xmpp.org/extensions/xep-0234.html example 5).

Il 13/04/2010 16:11, Matthew Wild ha scritto:
> I (nobody ask me why) recently implemented a server-side IBB->TCP proxy. Everything went smoothly, and it actually maps quite nicely, given that it is already bidirectional.
> One noticeable thing lacking though is a way to close a stream with an error. I can add this data in a new namespace, but it struck me that it might be useful to specify either a way to add an error to a<close/>  stanza, or simply (but perhaps less cleanly, as it only works in direct reply to an incoming data packet) specify that a stream is closed if any type="error" stanza is received in reply to a sent stanza.
> Thoughts?
> Matthew
> PS. If anyone is interested, my proxy is documented here: http://code.google.com/p/prosody-modules/wiki/mod_tcpproxy and the code is in the repository at http://code.google.com/p/prosody-modules/source/browse/#hg/mod_tcpproxy (it includes a demo Javascript client).

More information about the Standards mailing list