dgaudet     98/05/25 10:58:18

  Modified:    src      CHANGES
               src/main util_script.c
  Log:
    *) Call ap_destroy_sub_req() in ap_add_cgi_vars() to reclaim some
       memory.
  PR:           2252
  Submitted by: Rob Saccoccio <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.861     +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.860
  retrieving revision 1.861
  diff -u -r1.860 -r1.861
  --- CHANGES   1998/05/22 06:58:26     1.860
  +++ CHANGES   1998/05/25 17:58:16     1.861
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b8
   
  +  *) Call ap_destroy_sub_req() in ap_add_cgi_vars() to reclaim some
  +     memory.  [Rob Saccoccio <[EMAIL PROTECTED]>] PR#2252
  +
     *) Fix src/support/httpd.exp (DSO export file which is currently only
        used under AIX) because of recent changes to function names.
        [Ralf S. Engelschall]
  
  
  
  1.112     +1 -7      apache-1.3/src/main/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/util_script.c,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- util_script.c     1998/05/21 18:04:15     1.111
  +++ util_script.c     1998/05/25 17:58:17     1.112
  @@ -361,13 +361,6 @@
        request_rec *pa_req = ap_sub_req_lookup_uri(escape_uri(r->pool, 
r->path_info),
                                                 r);
   
  -     /* Don't bother destroying pa_req --- it's only created in
  -      * child processes which are about to jettison their address
  -      * space anyway.  BTW, we concatenate filename and path_info
  -      * from the sub_request to be compatible in case the PATH_INFO
  -      * is pointing to an object which doesn't exist.
  -      */
  -
        if (pa_req->filename) {
   #ifdef WIN32
            char buffer[HUGE_STRING_LEN];
  @@ -382,6 +375,7 @@
            ap_table_setn(e, "PATH_TRANSLATED", pt);
   #endif
        }
  +     ap_destroy_sub_req(pa_req);
       }
   }
   
  
  
  

Reply via email to