mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Rename collection timeout diretive
This commit is contained in:
parent
6cf207ce32
commit
76e909c5a9
2
CHANGES
2
CHANGES
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
* Fixed Reverted hexDecode for hexEncode compatibility reason.
|
* 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.
|
* Added sqlHexDecode transformation to decode sql hex data. Thanks Marc Stern.
|
||||||
|
|
||||||
|
@ -1270,7 +1270,7 @@ static const char *cmd_collection_timeout(cmd_parms *cmd, void *_dcfg,
|
|||||||
/* max 30 days */
|
/* max 30 days */
|
||||||
if ((dcfg->col_timeout >= 0)&&(dcfg->col_timeout <= 2592000)) return NULL;
|
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,
|
static const char *cmd_debug_log_level(cmd_parms *cmd, void *_dcfg,
|
||||||
@ -2369,7 +2369,7 @@ const command_rec module_directives[] = {
|
|||||||
),
|
),
|
||||||
|
|
||||||
AP_INIT_TAKE1 (
|
AP_INIT_TAKE1 (
|
||||||
"SecDefaultCollectionTimeout",
|
"SecCollectionTimeout",
|
||||||
cmd_collection_timeout,
|
cmd_collection_timeout,
|
||||||
NULL,
|
NULL,
|
||||||
CMD_SCOPE_ANY,
|
CMD_SCOPE_ANY,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user