httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_cgi.c
Date Mon, 06 Aug 2001 18:41:31 GMT
wrowe       01/08/06 11:41:31

  Modified:    modules/generators mod_cgi.c
  Log:
    We are done with this subrequest (before we even got started...) so
    dump it early.
  
  Revision  Changes    Path
  1.98      +3 -0      httpd-2.0/modules/generators/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgi.c,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- mod_cgi.c	2001/08/06 18:38:43	1.97
  +++ mod_cgi.c	2001/08/06 18:41:31	1.98
  @@ -786,15 +786,18 @@
       apr_bucket  *tmp_buck, *tmp2_buck;
   
       if (rr->status != HTTP_OK) {
  +        ap_destroy_sub_req(rr);
           return -1;
       }
   
       /* No hardwired path info or query allowed */
   
       if ((rr->path_info && rr->path_info[0]) || rr->args) {
  +        ap_destroy_sub_req(rr);
           return -1;
       }
       if (rr->finfo.filetype != APR_REG) {
  +        ap_destroy_sub_req(rr);
           return -1;
       }
   
  
  
  

Mime
View raw message