]> granicus.if.org Git - apache/commitdiff
We need to setup protocol filters for the fake request. If we don't,
authorRyan Bloom <rbb@apache.org>
Thu, 7 Mar 2002 06:07:25 +0000 (06:07 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 7 Mar 2002 06:07:25 +0000 (06:07 +0000)
then when any request filters are added, the connection filters will be
lost.  This fixes the proxy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93752 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 8181b85ad8742cec06f5e1d26a07492d38aba11a..86e48dcd3e05a9d450bac641a9cbfb1951f154a8 100644 (file)
@@ -379,6 +379,8 @@ PROXY_DECLARE(request_rec *)ap_proxy_make_fake_req(conn_rec *c, request_rec *r)
     rp->connection      = c;
     rp->output_filters  = c->output_filters;
     rp->input_filters   = c->input_filters;
+    rp->proto_output_filters  = c->output_filters;
+    rp->proto_input_filters   = c->input_filters;
 
     rp->request_config  = ap_create_request_config(c->pool);
     proxy_run_create_req(r, rp);