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

Re: [xmpp] the stream negotiation process



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/23/09 7:59 AM, Dave Cridland wrote:
> 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?

Because you're stupid. Well, you aren't, but your software is. :)

> That's surely an error in all cases.

It is. But it's not a stanza error. That's my only point here.

> 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.

Indeed.

Peter

- --
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrh2NcACgkQNL8k5A2w/vzktACfUPXAb9JiZf9cHbX32o0TOw/u
qjsAmwRTGqbAFUsvOfHo1+7YYvZRKAr/
=bGV1
-----END PGP SIGNATURE-----

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