From: Holger Weiss Date: Sun, 16 Sep 2018 22:18:38 +0000 (+0200) Subject: Increase 'max_stanza_size' limit for c2s listener X-Git-Tag: 18.09~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dafea66c0f38f9f8027ebdaf84556db637fefaa0;p=ejabberd Increase 'max_stanza_size' limit for c2s listener Specify a larger 'max_stanza_size' limit for c2s connections in the default configuration in order to reduce the risk of this limit being hit by legitimate traffic (such as avatar uploads). --- diff --git a/ejabberd.yml.example b/ejabberd.yml.example index 139b31751..5ea258a02 100644 --- a/ejabberd.yml.example +++ b/ejabberd.yml.example @@ -43,7 +43,7 @@ listen: port: 5222 ip: "::" module: ejabberd_c2s - max_stanza_size: 65536 + max_stanza_size: 262144 shaper: c2s_shaper access: c2s starttls_required: true