Software /
code /
prosody
Changeset
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 |
parents | 11542:c358537c0878 |
children | 11544:c98aebe601f9 |
files | util/xmppstream.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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