Software /
code /
prosody-modules
File
mod_s2s_idle_timeout/README.md @ 6120:bd3ff802d883
mod_anti_spam: Fix another traceback for origin sessions without an IP
This is likely to be the case for stanzas originating from local hosts, for
example (so not true s2s). It should be safe to bypass the IP check for those.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Dec 2024 21:02:08 +0000 |
parent | 6054:d39ddf13ff0a |
line wrap: on
line source
--- labels: - 'Stage-Stable' summary: 'Close idle server-to-server connections' ... Introduction ============ By default prosody does not close s2s connections. This module changes that behaviour by introducing an idle timeout. It will close server-to-server connections after they have been silent for a while. Configuration ============= The default timeout is 300 seconds (5 minutes). To change this simply put in the config: s2s_idle_timeout = 180 -- time in seconds Compatibility ============= Prosody Version Status ----------------- ----------- trunk[^1] Works 0.12 Works ----------------- ----------- [^1]: as of 2024-10-22