1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

prevent infinite recursion if an ErrorDocument gets an error

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
This commit is contained in:
Greg Ames
2002-06-20 19:34:28 +00:00
parent a2762309d3
commit 54b431dfb6

View 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))