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.
This commit is contained in:
Markus Makela
2016-11-14 16:35:03 +02:00
parent da129025eb
commit 7ddb4d8e5a

View File

@ -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))