summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/http/http_request.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/http/http_request.c b/modules/http/http_request.c
index 255fc8951d..fed313bee9 100644
--- a/modules/http/http_request.c
+++ b/modules/http/http_request.c
@@ -541,6 +541,9 @@ AP_DECLARE(void) ap_internal_fast_redirect(request_rec *rr, request_rec *r)
}
if (next && (next->frec == ap_subreq_core_filter_handle)) {
ap_remove_output_filter(next);
+ if (next == r->output_filters) {
+ r->output_filters = r->output_filters->next;
+ }
}
}