Prosody IM trunk


changeset 63fd4c8465fb 0.11

util.xmppstream: Reduce default xmppstream limit to 1MB

author
Matthew Wild
date
parents
children
files

1 files changed, 1 insertions(+), 1 deletions(-)

↓ Download patch

--- a/util/xmppstream.lua	Mon May 10 16:41:56 2021 +0100
+++ b/util/xmppstream.lua	Mon May 10 16:44:55 2021 +0100
@@ -22,7 +22,7 @@
 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