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:
parent
ce1364b414
commit
c10984f61b
@ -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>"
|
||||||
).
|
).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user