[jdev] failed dialback and stream errors

Matthias Wimmer m at tthias.net
Thu Mar 3 15:14:43 CST 2005


Hi!

jabberd14 (up to version 1.4.3) used to generate a <stream:error/>
element if the other side sent a <db:result type='invalid'/> element,
"asking for excuse to use a wrong hostname".

I just thought about this and removed generating a stream error in this
case completely. There is no stream error because it is valid to send a
<db:result type='invalid'/> dialback result. If there was an error it
was either failed dialback or we are really using a wrong hostname - but
in any case there was no error on the stream.

I am now just closing the stream sending </stream:stream>.

Any objections? Anybody thinking jabberd14 should still send an stream
error?

Tot kijk
    Matthias

-- 
Fon: +49-(0)70 0770 07770          http://web.amessage.info
Fax: +49-(0)89 312 88 654          xmpp:mawis at amessage.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20050303/abd3fefa/attachment-0002.pgp>


More information about the JDev mailing list