mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
This was not meant to be checked in yet (trac #42)
This commit is contained in:
parent
4676132ed4
commit
59928bfe60
@ -659,15 +659,6 @@ static void hook_error_log(const char *file, int line, int level, apr_status_t s
|
|||||||
|
|
||||||
if (r == NULL) return;
|
if (r == NULL) return;
|
||||||
msr = retrieve_tx_context(r);
|
msr = retrieve_tx_context(r);
|
||||||
|
|
||||||
/* Alert for failed requests we never had the chance to process */
|
|
||||||
if (level & APLOG_ERR) {
|
|
||||||
if (msr == NULL && apr_table_get(r->subprocess_env, "UNIQUE_ID")) {
|
|
||||||
msr = create_tx_context(r);
|
|
||||||
msr_log(msr, 1, "Request failed before processing could begin", 5);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (msr == NULL) return;
|
if (msr == NULL) return;
|
||||||
|
|
||||||
/* Store the error message for later */
|
/* Store the error message for later */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user