httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/modules/http http_request.c
Date Fri, 05 Apr 2002 21:16:11 GMT
rbb         02/04/05 13:16:11

  Modified:    modules/http http_request.c
  Log:
  If we are doing a fast_redirect, and we don't have a main request, then
  make sure that we don't have the sub_req_output_filter.  This was
  causing problems when there were multiple sub_Requests, and some should
  have had the filter, but the last one shouldn't.
  
  This fixes the final known bug in 2.0.35
  
  Revision  Changes    Path
  1.138     +4 -0      httpd-2.0/modules/http/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_request.c,v
  retrieving revision 1.137
  retrieving revision 1.138
  diff -u -r1.137 -r1.138
  --- http_request.c	5 Apr 2002 20:06:52 -0000	1.137
  +++ http_request.c	5 Apr 2002 21:16:11 -0000	1.138
  @@ -442,6 +442,10 @@
           ap_add_output_filter_handle(ap_subreq_core_filter_handle,
                                       NULL, r, r->connection);
       }
  +    else if (r->output_filters->frec == ap_subreq_core_filter_handle) {
  +        ap_remove_output_filter(r->output_filters);
  +        r->output_filters = r->output_filters->next;
  +    }
   }
   
   AP_DECLARE(void) ap_internal_redirect(const char *new_uri, request_rec *r)
  
  
  

Mime
View raw message