[ejabberd] max_stanza_size not working in mod_http_bind?

Xia Qingran qingran.xia at gmail.com
Sat Apr 11 14:14:40 MSD 2009

I want to limit the max length of messages sending by XMPP web client(
JWCHAT ), and I have taken a client check by Javascript. Moreover I
must take this limitation on server side of mod_http_bind.

With the help of the issue,
https://support.process-one.net/browse/EJAB-416, I have taken the
max_stanza_size in ejabberd_c2s:

  {5222, ejabberd_c2s, [
			{certfile, "/usr/local/etc/ejabberd/xmppserver.pem"}, starttls,
			{access, c2s},
			{shaper, c2s_shaper},
			{ip, {127, 0, 0, 1}},
			{max_stanza_size, 4096}

Is this way right? And it is not woking when I successfully send and
receive a message with 4096 chars.


Xia Qingran
qingran.xia at gmail.com

Andy Warhol  - "I am a deeply superficial person." -

More information about the ejabberd mailing list