aboutsummaryrefslogtreecommitdiffstats
path: root/spec/json
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-14 20:00:45 +0100
committerKim Alvefur <zash@zash.se>2021-12-14 20:00:45 +0100
commit6e0bbc2af5f1213df15e988ea176c7f398c9fdf3 (patch)
tree4ab2c6874868cf59650074de35b3ccbd87aa0c57 /spec/json
parent93a9ed262065d9966643ad5ae50b58142a1c6823 (diff)
downloadprosody-6e0bbc2af5f1213df15e988ea176c7f398c9fdf3.tar.gz
prosody-6e0bbc2af5f1213df15e988ea176c7f398c9fdf3.zip
mod_smacks: Limit queue memory consumption using new util
This brings back the queue size limit that was once added, then removed because destroying the session when reaching the limit was not great. Instead, the queue wraps and overwrites the oldest unacked stanza on the assumption that it will probably be acked anyway and thus does not need to be delivered. If those discarded stanzas turn out to be needed on resumption then the resumption fails.
Diffstat (limited to 'spec/json')
0 files changed, 0 insertions, 0 deletions