You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@locus.apache.org on 2000/11/09 11:45:04 UTC
cvs commit: apache-2.0/src/main http_request.c
gstein 00/11/09 02:45:02
Modified: src/main http_request.c
Log:
byterange handling simply did not work for internal redirects.
(e.g. fetch /foo/ which redirects to /foo/index.html)
Revision Changes Path
1.69 +3 -0 apache-2.0/src/main/http_request.c
Index: http_request.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/main/http_request.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- http_request.c 2000/11/05 04:06:17 1.68
+++ http_request.c 2000/11/09 10:45:01 1.69
@@ -1478,6 +1478,9 @@
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",