aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-11-10 17:47:50 +0100
committerKim Alvefur <zash@zash.se>2017-11-10 17:47:50 +0100
commitb27c0335f178ca2bfb7baaecb164302dec5e6a47 (patch)
tree2750c26e7e3d4b905a6bae5249c5d34208501c39 /plugins/mod_c2s.lua
parent0251f343054715fd750860ad537fa16a0419df65 (diff)
parent2b87305e904ea6d364ba072be3c409fb0b933dd4 (diff)
downloadprosody-b27c0335f178ca2bfb7baaecb164302dec5e6a47.tar.gz
prosody-b27c0335f178ca2bfb7baaecb164302dec5e6a47.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r--plugins/mod_c2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index 7b82cc5f..c1dbc885 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -23,7 +23,7 @@ local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams";
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));