[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmpp] the stream negotiation process



On Fri Oct 23 14:51:38 2009, Peter Saint-Andre wrote:
A stanza is <iq/>, <message/>, or <presence/>. If the server is
expecting SASL and I try to negotiate XEP-0198 support or dialback or whatever, I haven't sent a stanza so how can the server return a stanza
error to me?

Well, why would you try to negotiate XEP-0198 if you're not yet authenticated?

That's surely an error in all cases.

So you'd have to do SASL (or XEP-0078, or XEP-0220, both of which have defined errors if they're attempted when in fact disabled) first.

Dave.
--
Dave Cridland - mailto:dave at cridland.net - xmpp:dwd at dave.cridland.net
 - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
 - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.