]> granicus.if.org Git - apache/commitdiff
reset chain if we need to...
authorJim Jagielski <jim@apache.org>
Tue, 9 Dec 2008 18:19:20 +0000 (18:19 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 9 Dec 2008 18:19:20 +0000 (18:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724805 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 255fc8951dbc3e956b25e54cae225afb86e20ca5..fed313bee93f758be4d4e075d34b45c55c16cce5 100644 (file)
@@ -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;
+            }
         }
     }