]> granicus.if.org Git - apache/commitdiff
prevent infinite recursion if an ErrorDocument gets an error
authorGreg Ames <gregames@apache.org>
Thu, 20 Jun 2002 19:34:28 +0000 (19:34 +0000)
committerGreg Ames <gregames@apache.org>
Thu, 20 Jun 2002 19:34:28 +0000 (19:34 +0000)
Reported by: Colm MacC�rthaigh <colmmacc@Redbrick.DCU.IE>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95825 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index e191e9928f2cbda6b7b80c281e91509229208dd7..6177cfde24deef8daf453110273133ab749bab90 100644 (file)
@@ -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))