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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user