From: Jim Jagielski Date: Tue, 9 Dec 2008 18:19:20 +0000 (+0000) Subject: reset chain if we need to... X-Git-Tag: 2.3.1~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a36484e4e0c74dcc696bbf0a3848b0398b5a5bd9;p=apache reset chain if we need to... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724805 13f79535-47bb-0310-9956-ffa450edef68 --- 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; + } } }