Hi, in a BOSH application I'm developing, I accidentally allowed a race condition in which the client would send a presence packet (specifically a MUC presence, but I have a feeling that's not germaine) before the session had been fully established. Specifically, after connecting, the client would send an "auth" packet, but before receiving theĀ <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/> response, it would go ahead and send the presence.
I'm not an XMPP expert and so honestly I'm not entirely sure this is even improper behavior, but if it is, what is the expected response from the server? I ask because in Ejabberd's case it sends a <stream:error> <xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/> response, which sent me on a wild goose chase looking for malformed XML. If it's a bug in Ejabberd I'm happy to pursue it there but first I wanted to understand the expected behavior a little better. thanks, Dan _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
