Return-Path: Delivered-To: apache-cvs-archive@hyperreal.org Received: (qmail 4990 invoked by uid 6000); 27 Jan 1998 02:39:44 -0000 Received: (qmail 4984 invoked by alias); 27 Jan 1998 02:39:43 -0000 Delivered-To: apachen-cvs@hyperreal.org Received: (qmail 4982 invoked by uid 143); 27 Jan 1998 02:39:42 -0000 Date: 27 Jan 1998 02:39:42 -0000 Message-ID: <19980127023942.4981.qmail@hyperreal.org> From: dgaudet@hyperreal.org To: apachen-cvs@hyperreal.org Subject: cvs commit: apachen/src/main http_request.c Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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;