Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Logging max_xmpp_stanza_size when stream is terminated due to abuse.

  • Loading branch information...
commit 58bad5b6fbc492e496fdc3af8c8712e39ad02138 1 parent 9c0c655
@satyamshekhar satyamshekhar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/xmpp-proxy.js
View
2  src/xmpp-proxy.js
@@ -280,7 +280,7 @@ dutil.copy(XMPPProxy.prototype, {
log.debug("%s %s _on_data RECD: %s", this._void_star.session.sid, this._void_star.name, d);
this._current_stanza_size += d.length;
if (this._current_stanza_size > this._max_xmpp_stanza_size) {
- log.info("% %s _on_data: will terminate stream - the max_xmpp_stanza_size exceeded", this._void_star.session.sid, this._void_star.name);
+ log.info("% %s _on_data: will terminate stream - the max_xmpp_stanza_size(%s) exceeded", this._void_star.session.sid, this._void_star.name, this._max_xmpp_stanza_size);
this._on_stream_end();
} else {
this._parser.parse(d);
Please sign in to comment.
Something went wrong with that request. Please try again.