# HG changeset patch # User Matthew Wild # Date 1620661495 -3600 # Node ID 63fd4c8465fb0309deffae3e9e1451d1a3a28972 # Parent c358537c087858fc3b054976526452e054f74979 util.xmppstream: Reduce default xmppstream limit to 1MB diff -r c358537c0878 -r 63fd4c8465fb util/xmppstream.lua --- 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