From: Bill Stoddard Date: Fri, 22 Mar 2002 20:23:00 +0000 (+0000) Subject: Tag some pools. X-Git-Tag: 2.0.34~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d317a65c5b7491cd56d06633f934d5013728385b;p=thirdparty%2Fapache%2Fhttpd.git Tag some pools. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94139 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index cf8f8af3655..95c68cc073d 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -840,6 +840,7 @@ static PCOMP_CONTEXT win9x_get_connection(PCOMP_CONTEXT context) /* allocate the completion context and the transaction pool */ context = apr_pcalloc(pconf, sizeof(COMP_CONTEXT)); apr_pool_create(&context->ptrans, pconf); + apr_pool_tag(context->ptrans, "ptrans"); } @@ -1035,6 +1036,8 @@ static PCOMP_CONTEXT winnt_get_connection(PCOMP_CONTEXT pCompContext) if ((rc = apr_pool_create(&pCompContext->ptrans, pconf)) != APR_SUCCESS) { ap_log_error(APLOG_MARK,APLOG_DEBUG, rc, ap_server_conf, "Child %d: apr_pool_create failed with rc %d", my_pid, rc); + } else { + apr_pool_tag(pCompContext->ptrans, "ptrans"); } return pCompContext; @@ -1144,6 +1147,7 @@ static void child_main() int cld; apr_pool_create(&pchild, pconf); + apr_pool_tag(pchild, "pchild"); ap_run_child_init(pchild, ap_server_conf);