Software /
code /
prosody
Changeset
8388:9ee56e9ad47a
mod_c2s: Set a default value for c2s_timeout (fixes #1036)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 10 Nov 2017 07:11:03 +0100 |
parents | 8378:6a098961bc00 |
children | 8390:4c629fde768c 8391:5edb0d01a94f |
files | plugins/mod_c2s.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_c2s.lua Tue Nov 07 09:26:48 2017 +0100 +++ b/plugins/mod_c2s.lua Fri Nov 10 07:11:03 2017 +0100 @@ -23,7 +23,7 @@ local log = module._log; -local c2s_timeout = module:get_option_number("c2s_timeout"); +local c2s_timeout = module:get_option_number("c2s_timeout", 300); local stream_close_timeout = module:get_option_number("c2s_close_timeout", 5); local opt_keepalives = module:get_option_boolean("c2s_tcp_keepalives", module:get_option_boolean("tcp_keepalives", true));