From 54b431dfb66f6a510abbaf4981162642e509a29b Mon Sep 17 00:00:00 2001 From: Greg Ames Date: Thu, 20 Jun 2002 19:34:28 +0000 Subject: [PATCH] prevent infinite recursion if an ErrorDocument gets an error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported by: Colm MacC�rthaigh git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95825 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_request.c b/modules/http/http_request.c index e191e9928f..6177cfde24 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -117,7 +117,7 @@ AP_DECLARE(void) ap_die(int type, request_rec *r) * error condition, we just report on the original error, and give up on * any attempt to handle the other thing "intelligently"... */ - if (r->status != HTTP_OK && !ap_status_drops_connection(type)) { + if (r->status != HTTP_OK) { recursive_error = type; while (r->prev && (r->prev->status != HTTP_OK)) -- 2.40.0