You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2002/03/07 07:07:25 UTC

cvs commit: httpd-2.0/modules/proxy proxy_util.c

rbb         02/03/06 22:07:25

  Modified:    modules/proxy proxy_util.c
  Log:
  We need to setup protocol filters for the fake request.  If we don't,
  then when any request filters are added, the connection filters will be
  lost.  This fixes the proxy.
  
  Revision  Changes    Path
  1.83      +2 -0      httpd-2.0/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_util.c,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- proxy_util.c	21 Feb 2002 11:42:03 -0000	1.82
  +++ proxy_util.c	7 Mar 2002 06:07:25 -0000	1.83
  @@ -379,6 +379,8 @@
       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);