dgaudet 98/01/26 18:39:42
Modified: src/main http_request.c Log: When calling rename_original_environment we should be creating the new table in the environment of the subrequest, not the main request. Otherwise it will consume memory when it shouldn't be... and will trigger POOL_DEBUG aborts. Revision Changes Path 1.102 +1 -1 apachen/src/main/http_request.c Index: http_request.c =================================================================== RCS file: /export/home/cvs/apachen/src/main/http_request.c,v retrieving revision 1.101 retrieving revision 1.102 diff -u -r1.101 -r1.102 --- http_request.c 1998/01/26 19:50:13 1.101 +++ http_request.c 1998/01/27 02:39:41 1.102 @@ -1219,7 +1219,7 @@ new->headers_in = r->headers_in; new->headers_out = make_table(r->pool, 5); new->err_headers_out = r->err_headers_out; - new->subprocess_env = rename_original_env(r->pool, r->subprocess_env); + new->subprocess_env = rename_original_env(new->pool, r->subprocess_env); new->notes = make_table(r->pool, 5); new->htaccess = r->htaccess;