From: Greg Ames Date: Thu, 20 Jun 2002 19:34:28 +0000 (+0000) Subject: prevent infinite recursion if an ErrorDocument gets an error X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=459e6edf489db912c3285571d3c782925e3757a4;p=apache prevent infinite recursion if an ErrorDocument gets an error Reported by: Colm MacC�rthaigh git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95825 13f79535-47bb-0310-9956-ffa450edef68 --- 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))