25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Improve stream error stanza when receives invalid handshake from component.

SVN Revision: 2640
This commit is contained in:
Badlop 2009-10-06 10:04:26 +00:00
parent ce1364b414
commit c10984f61b

View File

@ -80,7 +80,11 @@
). ).
-define(INVALID_HANDSHAKE_ERR, -define(INVALID_HANDSHAKE_ERR,
"<stream:error>Invalid Handshake</stream:error>" "<stream:error>"
"<not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>"
"<text xmlns='urn:ietf:params:xml:ns:xmpp-streams' xml:lang='en'>"
"Invalid Handshake</text>"
"</stream:error>"
"</stream:stream>" "</stream:stream>"
). ).