From: Joe Orton Date: Thu, 19 May 2005 09:01:22 +0000 (+0000) Subject: * server/mpm/worker/worker.c (listener_thread): Create ptrans pool as X-Git-Tag: 2.1.5~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d9b45ae5c1f9e7f076f22644a9c6835dceb7169;p=thirdparty%2Fapache%2Fhttpd.git * server/mpm/worker/worker.c (listener_thread): Create ptrans pool as a child of pconf, to fix APR pool lifetime checks in apr_tables.c. Submitted by: Joe Schaefer git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170896 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 4e8031a3903..0a171365b6f 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -710,7 +710,7 @@ static void *listener_thread(apr_thread_t *thd, void * dummy) apr_allocator_create(&allocator); apr_allocator_max_free_set(allocator, ap_max_mem_free); - apr_pool_create_ex(&ptrans, NULL, NULL, allocator); + apr_pool_create_ex(&ptrans, pconf, NULL, allocator); apr_allocator_owner_set(allocator, ptrans); } else {