From f2b0e51aa6eab8ba587b3deefca39e8e899bffb1 Mon Sep 17 00:00:00 2001 From: Greg Stein Date: Thu, 9 Nov 2000 10:45:01 +0000 Subject: [PATCH] byterange handling simply did not work for internal redirects. (e.g. fetch /foo/ which redirects to /foo/index.html) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86883 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_request.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 6ea6e6e75b..8c4adffad6 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -1478,6 +1478,9 @@ static request_rec *internal_internal_redirect(const char *new_uri, new->output_filters = r->connection->output_filters; new->input_filters = r->connection->input_filters; + + ap_add_output_filter("BYTERANGE", NULL, new, new->connection); + ap_add_output_filter("CONTENT_LENGTH", NULL, new, new->connection); ap_add_output_filter("HTTP_HEADER", NULL, new, new->connection); apr_table_setn(new->subprocess_env, "REDIRECT_STATUS", -- 2.50.1