summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-08-02 22:12:45 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-08-02 22:12:45 +0000
commit0db7162858d16467df489d366f0a756251888500 (patch)
tree5f6a5639b1ae9f7995803f2625b113d0769a56fd
parentd38326bbb76b0022611d6f92edabcdd940838c2d (diff)
downloadhttpd-0db7162858d16467df489d366f0a756251888500.tar.gz
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
-rw-r--r--server/mpm/winnt/mpm_winnt.c2
1 files changed, 1 insertions, 1 deletions
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);
}