[Standards] IBB session close errors
mwild1 at gmail.com
Tue Apr 13 15:06:44 UTC 2010
Excerpts from Dave Cridland's message of Tue Apr 13 16:57:19 +0100 2010:
> On Tue Apr 13 15:11:12 2010, Matthew Wild wrote:
> > I (nobody ask me why)
> Oh, sorry.
Actually the reason may interest you especially, but it's off-topic for this list, sorry :)
> > 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?
> Should an error close or half-close?
I don't see a reason to introduce additional complexity, so I'd say a full close.
More information about the Standards