diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-09-17 00:18:38 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-09-17 00:18:38 +0200 |
commit | dafea66c0f38f9f8027ebdaf84556db637fefaa0 (patch) | |
tree | 3e737c42444d16fb1c07647ce28e42880b4851e0 | |
parent | Set a 'max_stanza_size' for incoming s2s listener (diff) |
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).
-rw-r--r-- | ejabberd.yml.example | 2 |
1 files changed, 1 insertions, 1 deletions
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 |