Software /
code /
prosody-modules
File
mod_s2s_idle_timeout/README.md @ 6057:cc665f343690
mod_firewall: SUBSCRIBED: Flip subscription check to match documentation
The documentation claims that this condition checks whether the recipient is
subscribed to the sender.
However, it was using the wrong method, and actually checking whether the
sender was subscribed to the recipient.
A quick poll of folk suggested that the documentation's approach is the right
one, so this should fix the code to match the documentation.
This should also fix the bundled anti-spam rules from blocking presence from
JIDs that you subscribe do (but don't have a mutual subscription with).
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 22 Nov 2024 13:50:48 +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