]> granicus.if.org Git - apache/commitdiff
ap_die(): follow up to r1657881.
authorYann Ylavic <ylavic@apache.org>
Tue, 10 Mar 2015 17:58:01 +0000 (17:58 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 10 Mar 2015 17:58:01 +0000 (17:58 +0000)
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
modules/http/http_request.c

index 55d9622930bed0dfdd41147458c8876ac1b4c48f..8d29e0a87400e67e30fbec955ec6ab8c526434f0 100644 (file)
@@ -1 +1 @@
-2831
+2832
index e0f7fc1e15b66d95412a257710e9fd086a4278f4..79179787c62bcbcc5dee202fe876dca269c778c2 100644 (file)
@@ -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 {