From: Greg Stein Date: Thu, 9 Nov 2000 10:45:01 +0000 (+0000) Subject: byterange handling simply did not work for internal redirects. X-Git-Tag: APACHE_2_0_ALPHA_8~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=820d6de59cf9ddb0b104e9f5bda235f8f38297ae;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 6ea6e6e75be..8c4adffad60 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",