The semantics for this are perhaps not as well-defined as they could be, but the intent is for this to be used when you initiate a stream to a host and the host redirects you to another host (i.e., does not continue the stream negotiation). I hadn't thought of the situation you describe: redirect during an active session. If we did that, I would think the client would need to re-connect (i.e., to the new host).
Peter On Wed, Mar 26, 2003 at 04:03:16PM -0800, Chris Mullins wrote: > > I've read the documentation for the Stream::Error:Redirect in the latest > version of the XMPP documentation, and have a question. > > When can the stream redirect be sent? From what I read, it appears makes > sense to expect it when the stream is first connected. > > Is it possible to have the server decide "I'm about to go down, let me > hand all my client connections to this other server", and have all > compliant Clients seamlessly redirect? That is, can I (as a client > developer) ever expect to see the Stream Redirect in the middle > (so-to-speak) of a session? > > If so, what should the client behavior be? Should it be a seamless > redirection / auto-log in (this seems a bit sketchy), or some sort of > "You're being redirected to <..>" dialog? > > -- > Chris Mullins _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
