From dafea66c0f38f9f8027ebdaf84556db637fefaa0 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 17 Sep 2018 00:18:38 +0200 Subject: [PATCH] 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). --- ejabberd.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0