[jdev] sasl error on multiple <auth/>?

Peter Saint-Andre stpeter at stpeter.im
Mon Aug 29 21:43:49 UTC 2011


On 8/29/11 11:50 AM, Kim Alvefur wrote:
> Or act as if the client sent <foobar/>. Ie error and (maybe?) close the stream.

Well, <foobar/> would result in the <unsupported-stanza-type/>
condition. Here the <auth/> element is acceptable in general, but not at
this point in the stream. For stanza errors we have a condition of
<unexpected-request/> but we don't have that for stream errors. If we
did, that's what I'd recommend sending. (Although does this really
warrant closing the stream?)

Peter

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




More information about the JDev mailing list