diff options
author | Kim Alvefur <zash@zash.se> | 2024-11-09 16:47:14 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-11-09 16:47:14 +0100 |
commit | 1b68565d701fa28a2b373646a018fd4d8451deb3 (patch) | |
tree | 5d5cffdd8d86155aee2900a9f5f154bc8ade815d /spec/scansion/empty_bookmarks.scs | |
parent | 52178d74302b310d5ee986399e7f24d1a02da58d (diff) | |
download | prosody-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 'spec/scansion/empty_bookmarks.scs')
0 files changed, 0 insertions, 0 deletions