Rename collection timeout diretive

This commit is contained in:
brenosilva 2011-12-07 11:41:21 +00:00
parent 6cf207ce32
commit 76e909c5a9
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -1270,7 +1270,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,
@ -2369,7 +2369,7 @@ const command_rec module_directives[] = {
),
AP_INIT_TAKE1 (
"SecDefaultCollectionTimeout",
"SecCollectionTimeout",
cmd_collection_timeout,
NULL,
CMD_SCOPE_ANY,