Software /
code /
prosody
Diff
util/xmppstream.lua @ 11543:63fd4c8465fb 0.11
util.xmppstream: Reduce default xmppstream limit to 1MB
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 10 May 2021 16:44:55 +0100 |
parent | 9071:db61e33bbd41 |
child | 11546:b21d8c286973 |
line wrap: on
line diff
--- 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