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/05 06:24:21 UTC

cvs commit: httpd-2.0/server core.c request.c

rbb         02/03/04 21:24:21

  Modified:    server   core.c request.c
  Log:
  Only insert net_filter once per request.  Initialize the output
  protocol filters.
  
  Revision  Changes    Path
  1.156     +2 -0      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.155
  retrieving revision 1.156
  diff -u -r1.155 -r1.156
  --- core.c	4 Mar 2002 09:20:03 -0000	1.155
  +++ core.c	5 Mar 2002 05:24:21 -0000	1.156
  @@ -3772,8 +3772,10 @@
       }
       else {
           req_cfg->bb = apr_brigade_create(r->pool);
  +	if (!r->prev) {
           ap_add_input_filter_handle(ap_net_time_filter_handle,
                                      NULL, r, r->connection);
  +	}
       }
       ap_set_module_config(r->request_config, &core_module, req_cfg);
   
  
  
  
  1.102     +1 -0      httpd-2.0/server/request.c
  
  Index: request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/request.c,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- request.c	3 Mar 2002 22:04:03 -0000	1.101
  +++ request.c	5 Mar 2002 05:24:21 -0000	1.102
  @@ -1499,6 +1499,7 @@
           rnew->input_filters  = r->input_filters;
           rnew->proto_input_filters  = r->proto_input_filters;
           rnew->output_filters = next_filter;
  +	rnew->proto_output_filters = r->connection->output_filters;
           ap_add_output_filter_handle(ap_subreq_core_filter_handle,
                                       NULL, rnew, rnew->connection); 
       }