]> granicus.if.org Git - apache/commitdiff
If it won't let us run in APR_POOLS_DEBUG mode, it's broken.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 2 Aug 2001 22:12:45 +0000 (22:12 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 2 Aug 2001 22:12:45 +0000 (22:12 +0000)
  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

server/mpm/winnt/mpm_winnt.c

index 00f2abdd8fcde8c665fea9443a933bed745b914c..b4617d2ca5996c398f5eb32e57c649cf9b769f0c 100644 (file)
@@ -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);
     }