From: William A. Rowe Jr Date: Thu, 2 Aug 2001 22:12:45 +0000 (+0000) Subject: If it won't let us run in APR_POOLS_DEBUG mode, it's broken. X-Git-Tag: 2.0.23~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0db7162858d16467df489d366f0a756251888500;p=apache If it won't let us run in APR_POOLS_DEBUG mode, it's broken. We should be implementing this all in terms of apr_threads, and fix the apr_pools code to allow 'trusted subpools' with their own root allocations that bypass the mutexes. Unrooting a pool just glosses over the real problems. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89885 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 00f2abdd8f..b4617d2ca5 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -845,7 +845,7 @@ static PCOMP_CONTEXT winnt_get_connection(PCOMP_CONTEXT pCompContext) g_blocked_threads--; - if ((rc = apr_pool_create(&pCompContext->ptrans, NULL)) != APR_SUCCESS) { + if ((rc = apr_pool_create(&pCompContext->ptrans, pconf)) != APR_SUCCESS) { ap_log_error(APLOG_MARK,APLOG_DEBUG, rc, server_conf, "Child %d: apr_pool_create failed with rc %d", my_pid, rc); }