aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_blocklist.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-12-02 20:20:05 +0100
committerKim Alvefur <zash@zash.se>2023-12-02 20:20:05 +0100
commite5aa2c3385270d89df857966d2d575cd94f0bd62 (patch)
treed75403434002945adb9f175eab793ac89435b7f3 /plugins/mod_blocklist.lua
parent3fbec27699fe712b175ef17a8f20da9e61095d06 (diff)
downloadprosody-e5aa2c3385270d89df857966d2d575cd94f0bd62.tar.gz
prosody-e5aa2c3385270d89df857966d2d575cd94f0bd62.zip
mod_s2s: Close connection on smacks timeout
This merges the mod_s2s_smacks_timeout behavior from prosody-modules This event is fired by mod_smacks when the connection has not responded to an ack-request for a period of time defaulting to 30 seconds, indicating that the connection has become stuck or non-responsive. Closing it prevents routing further messages via this connection and frees resources. A stuck connection may otherwise remain until for a time determined by the OS TCP subsystem, which can be quite long.
Diffstat (limited to 'plugins/mod_blocklist.lua')
0 files changed, 0 insertions, 0 deletions