diff --git a/apache2/mod_security2.c b/apache2/mod_security2.c index c77d18c5..b28422db 100644 --- a/apache2/mod_security2.c +++ b/apache2/mod_security2.c @@ -659,15 +659,6 @@ static void hook_error_log(const char *file, int line, int level, apr_status_t s if (r == NULL) return; 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; /* Store the error message for later */