mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 14:46:13 +03:00
MODSEC-219
This commit is contained in:
parent
5d540e0591
commit
463b0df78a
16
apache2/re.c
16
apache2/re.c
@ -1090,6 +1090,14 @@ apr_status_t msre_ruleset_process_phase(msre_ruleset *ruleset, modsec_rec *msr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(msr->txcfg->is_enabled == MODSEC_DISABLED) {
|
||||||
|
saw_starter = 0;
|
||||||
|
skipped = 0;
|
||||||
|
skip_after = NULL;
|
||||||
|
mode = NEXT_RULE;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (msr->txcfg->debuglog_level >= 4) {
|
if (msr->txcfg->debuglog_level >= 4) {
|
||||||
apr_pool_t *p = msr->mp;
|
apr_pool_t *p = msr->mp;
|
||||||
const char *fn = NULL;
|
const char *fn = NULL;
|
||||||
@ -1117,14 +1125,6 @@ apr_status_t msre_ruleset_process_phase(msre_ruleset *ruleset, modsec_rec *msr)
|
|||||||
time1 = apr_time_now();
|
time1 = apr_time_now();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(msr->txcfg->is_enabled == MODSEC_DISABLED) {
|
|
||||||
saw_starter = 0;
|
|
||||||
skipped = 0;
|
|
||||||
skip_after = NULL;
|
|
||||||
mode = NEXT_RULE;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
rc = msre_rule_process(rule, msr);
|
rc = msre_rule_process(rule, msr);
|
||||||
|
|
||||||
#if defined(PERFORMANCE_MEASUREMENT)
|
#if defined(PERFORMANCE_MEASUREMENT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user