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:
@ -1383,7 +1383,7 @@ process_config_update(CONFIG_CONTEXT *context)
|
|||||||
|
|
||||||
if (connection_timeout)
|
if (connection_timeout)
|
||||||
{
|
{
|
||||||
serviceSetTimeout(service, config_truth_value(connection_timeout));
|
serviceSetTimeout(service, atoi(connection_timeout));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen(max_connections))
|
if (strlen(max_connections))
|
||||||
|
Reference in New Issue
Block a user