diff --git a/modules/http/http_request.c b/modules/http/http_request.c index e77f0eda5f5..c46eefb0bda 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -127,6 +127,7 @@ static void ap_die_r(int type, request_rec *r, int recursive_error) */ update_r_in_filters(r_1st_err->proto_output_filters, r, r_1st_err); update_r_in_filters(r_1st_err->input_filters, r, r_1st_err); + recursive_error = type; } custom_response = NULL; /* Do NOT retry the custom thing! */