aboutsummaryrefslogtreecommitdiffstats
path: root/net/resolvers/manual.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-11-09 16:47:14 +0100
committerKim Alvefur <zash@zash.se>2024-11-09 16:47:14 +0100
commit1b68565d701fa28a2b373646a018fd4d8451deb3 (patch)
tree5d5cffdd8d86155aee2900a9f5f154bc8ade815d /net/resolvers/manual.lua
parent52178d74302b310d5ee986399e7f24d1a02da58d (diff)
downloadprosody-1b68565d701fa28a2b373646a018fd4d8451deb3.tar.gz
prosody-1b68565d701fa28a2b373646a018fd4d8451deb3.zip
mod_s2s: Limit size of outgoing stanza queue
This queue is used to buffer stanzas while waiting for an outgoing s2s connection to be established. Limit it to prevent excessive memory usage. Default chosen to approximate how many average stanzas fits in the server_epoll default max_send_buffer_size of 32 MiB Returns a custom error instead of the default core.stanza_router "Communication with remote domains is not enabled" from is sent back, which does not describe what is happening here. Closes #1106
Diffstat (limited to 'net/resolvers/manual.lua')
0 files changed, 0 insertions, 0 deletions