dgaudet 98/05/25 11:07:32
Modified: src CHANGES 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.311 +3 -0 apache-1.2/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v retrieving revision 1.310 retrieving revision 1.311 diff -u -r1.310 -r1.311 --- CHANGES 1998/05/25 07:16:11 1.310 +++ CHANGES 1998/05/25 18:07:31 1.311 @@ -1,5 +1,8 @@ Changes with Apache 1.2.7 + *) Call ap_destroy_sub_req() in ap_add_cgi_vars() to reclaim some + memory. [Rob Saccoccio <[EMAIL PROTECTED]>] PR#2252 + *) Fix a problem with proxy URL manipulation introduced in 1.2.6. [Dave Kristol <[EMAIL PROTECTED]>] 1.61 +1 -7 apache-1.2/src/util_script.c Index: util_script.c =================================================================== RCS file: /export/home/cvs/apache-1.2/src/util_script.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- util_script.c 1998/04/13 11:45:50 1.60 +++ util_script.c 1998/05/25 18:07:32 1.61 @@ -304,17 +304,11 @@ request_rec *pa_req = 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) table_set (e, "PATH_TRANSLATED", pstrcat (r->pool, pa_req->filename, pa_req->path_info, NULL)); + destroy_sub_req(pa_req); } }