From bce39a433630fc027ac67ac696e7293b793c7db1 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Tue, 10 Mar 2015 17:58:01 +0000 Subject: [PATCH] ap_die(): follow up to r1657881. Use log level DEBUG for AP_FILTER_ERROR => HTTP_INTERNAL_SERVER_ERROR. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1665643 13f79535-47bb-0310-9956-ffa450edef68 --- docs/log-message-tags/next-number | 2 +- modules/http/http_request.c | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/log-message-tags/next-number b/docs/log-message-tags/next-number index 55d9622930..8d29e0a874 100644 --- a/docs/log-message-tags/next-number +++ b/docs/log-message-tags/next-number @@ -1 +1 @@ -2831 +2832 diff --git a/modules/http/http_request.c b/modules/http/http_request.c index e0f7fc1e15..79179787c6 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -102,8 +102,14 @@ static void ap_die_r(int type, request_rec *r, int recursive_error) * next->frec == ap_http_header_filter */ if (next) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01579) - "Invalid response status %i", type); + if (type != AP_FILTER_ERROR) { + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01579) + "Invalid response status %i", type); + } + else { + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(02831) + "Response from AP_FILTER_ERROR"); + } type = HTTP_INTERNAL_SERVER_ERROR; } else { -- 2.40.0