From 4d03b029f166353ce57cc60c2e6d026339ac4b72 Mon Sep 17 00:00:00 2001 From: brectanus Date: Thu, 19 Jul 2007 14:45:43 +0000 Subject: [PATCH] Remove the error message on a failed request so we can handle it in a pater phase. --- apache2/mod_security2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apache2/mod_security2.c b/apache2/mod_security2.c index 5c855ff9..9141dd4a 100644 --- a/apache2/mod_security2.c +++ b/apache2/mod_security2.c @@ -696,12 +696,11 @@ 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 */ + /* Create a context for requests we never had the chance to process */ /* TODO: This needs more testing */ if (level & APLOG_ERR) { if (msr == NULL && apr_table_get(r->subprocess_env, "UNIQUE_ID")) { msr = create_tx_context((request_rec *)r); - msr_log(msr, 1, "Request failed before processing could begin"); } }