# HG changeset patch # User Kim Alvefur # Date 1372246538 -7200 # Node ID 5cf6dedf36f4a39a30c30baf7510af87686c0945 # Parent 177fe6978ba8c1f22302184227df3c67d3bc35fd mod_s2s: Add missing global hook for read-timeout diff -r 177fe6978ba8 -r 5cf6dedf36f4 plugins/mod_s2s/mod_s2s.lua --- a/plugins/mod_s2s/mod_s2s.lua Mon Jun 24 18:29:04 2013 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Wed Jun 26 13:35:38 2013 +0200 @@ -139,6 +139,8 @@ return event.session.sends2s(' '); end +module:hook("s2s-read-timeout", keepalive, -1); + function module.add_host(module) if module:get_option_boolean("disallow_s2s", false) then module:log("warn", "The 'disallow_s2s' config option is deprecated, please see http://prosody.im/doc/s2s#disabling");