summaryrefslogtreecommitdiff
path: root/modules/http/http_request.c
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2008-12-09 18:19:20 +0000
committerJim Jagielski <jim@apache.org>2008-12-09 18:19:20 +0000
commita36484e4e0c74dcc696bbf0a3848b0398b5a5bd9 (patch)
tree9261fd1864c682df6dc79effdf94c8334ddcae1b /modules/http/http_request.c
parent5a83c545be00034cb6e30253aeb3469c136faf0f (diff)
downloadhttpd-a36484e4e0c74dcc696bbf0a3848b0398b5a5bd9.tar.gz
reset chain if we need to...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724805 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http/http_request.c')
-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;
+ }
}
}