diff --git a/CHANGES b/CHANGES index 231bedd5..0c7f4cb2 100644 --- a/CHANGES +++ b/CHANGES @@ -11,7 +11,7 @@ * Fixed Reverted hexDecode for hexEncode compatibility reason. -* Added SecDefaultCollectionTimeout to set collection timeout, default is 3600. +* Added SecCollectionTimeout to set collection timeout, default is 3600. * Added sqlHexDecode transformation to decode sql hex data. Thanks Marc Stern. diff --git a/apache2/apache2_config.c b/apache2/apache2_config.c index 7bc2bca3..d00f85ba 100644 --- a/apache2/apache2_config.c +++ b/apache2/apache2_config.c @@ -1266,7 +1266,7 @@ static const char *cmd_collection_timeout(cmd_parms *cmd, void *_dcfg, /* max 30 days */ if ((dcfg->col_timeout >= 0)&&(dcfg->col_timeout <= 2592000)) return NULL; - return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecDefaultCollectionTimeout: %s", p1); + return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecCollectionTimeout: %s", p1); } static const char *cmd_debug_log_level(cmd_parms *cmd, void *_dcfg, @@ -2353,7 +2353,7 @@ const command_rec module_directives[] = { ), AP_INIT_TAKE1 ( - "SecDefaultCollectionTimeout", + "SecCollectionTimeout", cmd_collection_timeout, NULL, CMD_SCOPE_ANY,