From 7ddb4d8e5aee4bf22a5c52c50b0e117e3718f07f Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Mon, 14 Nov 2016 16:35:03 +0200 Subject: [PATCH] Treat connection_timeout as an integer for `reload_config` The connection_timeout parameter was treated as a boolean which caused errors when the configuration was reloaded. --- server/core/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/config.c b/server/core/config.c index 6e6b517d9..f137fadb5 100644 --- a/server/core/config.c +++ b/server/core/config.c @@ -1383,7 +1383,7 @@ process_config_update(CONFIG_CONTEXT *context) if (connection_timeout) { - serviceSetTimeout(service, config_truth_value(connection_timeout)); + serviceSetTimeout(service, atoi(connection_timeout)); } if (strlen(max_connections))