]> granicus.if.org Git - apache/commitdiff
byterange handling simply did not work for internal redirects.
authorGreg Stein <gstein@apache.org>
Thu, 9 Nov 2000 10:45:01 +0000 (10:45 +0000)
committerGreg Stein <gstein@apache.org>
Thu, 9 Nov 2000 10:45:01 +0000 (10:45 +0000)
  (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

index 6ea6e6e75be05ed29cf48ed84ff31a6903db5e13..8c4adffad6035451dce7f3e9207890899ba5376d 100644 (file)
@@ -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",