aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2021-05-10 16:44:55 +0100
committerMatthew Wild <mwild1@gmail.com>2021-05-10 16:44:55 +0100
commitd126ee88bc666524339830b71141c92bb06cd283 (patch)
tree832f5fc58945d99ef126c9079d89859f4169d48d /util
parent06161ab7662dace66ac7f33198d6ded5683d5abe (diff)
downloadprosody-d126ee88bc666524339830b71141c92bb06cd283.tar.gz
prosody-d126ee88bc666524339830b71141c92bb06cd283.zip
util.xmppstream: Reduce default xmppstream limit to 1MB
Diffstat (limited to 'util')
-rw-r--r--util/xmppstream.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xmppstream.lua b/util/xmppstream.lua
index 58cbd18e..e2c24c8a 100644
--- a/util/xmppstream.lua
+++ b/util/xmppstream.lua
@@ -22,7 +22,7 @@ local lxp_supports_doctype = pcall(lxp.new, { StartDoctypeDecl = false });
local lxp_supports_xmldecl = pcall(lxp.new, { XmlDecl = false });
local lxp_supports_bytecount = not not lxp.new({}).getcurrentbytecount;
-local default_stanza_size_limit = 1024*1024*10; -- 10MB
+local default_stanza_size_limit = 1024*1024*1; -- 1MB
local _ENV = nil;
-- luacheck: std none