Diff

plugins/mod_c2s.lua @ 8390:4c629fde768c

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Fri, 10 Nov 2017 17:47:50 +0100
parent 8235:7d9a2c200736
parent 8388:9ee56e9ad47a
child 8764:81d305bbe7bc
line wrap: on
line diff
--- a/plugins/mod_c2s.lua	Fri Nov 10 17:47:11 2017 +0100
+++ b/plugins/mod_c2s.lua	Fri Nov 10 17:47:50 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));