summaryrefslogtreecommitdiffstats
path: root/modules/http/http_request.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-10-05 04:11:11 +0200
committerJeff Trawick <trawick@apache.org>2000-10-05 04:11:11 +0200
commit9fd5df3eb562b7d400a1283f81073165fe9f1466 (patch)
tree31ed911b099e34b0ff8fd2bd0afb6ea86d9631f7 /modules/http/http_request.c
parentConnection oriented filters are now stored in the conn_rec instead of the (diff)
downloadapache2-9fd5df3eb562b7d400a1283f81073165fe9f1466.tar.xz
apache2-9fd5df3eb562b7d400a1283f81073165fe9f1466.zip
The new request_rec set up for redirects needs to pick up the
output filter chain from the conn_rec. Any required request filters will be inserted later. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/http/http_request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/http/http_request.c b/modules/http/http_request.c
index 2b68e0ecfa..fda602133c 100644
--- a/modules/http/http_request.c
+++ b/modules/http/http_request.c
@@ -1385,6 +1385,8 @@ static request_rec *internal_internal_redirect(const char *new_uri,
new->read_length = r->read_length; /* We can only read it once */
new->vlist_validator = r->vlist_validator;
+ new->output_filters = r->connection->output_filters;
+
apr_table_setn(new->subprocess_env, "REDIRECT_STATUS",
apr_psprintf(r->pool, "%d", r->status));