From f317c2c9e640825fc258a8a96cbaf1288ba0cd61 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Fri, 12 Apr 2002 22:11:44 +0000 Subject: [PATCH] Readjustment of where the bucket is being allocated now that they are being cleaned up. Need to move the call to after apr_pool_clear() so that it doesn't get cleanup too soon and never reallocated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94627 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/netware/mpm_netware.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index dc337aa77f..9ec63fb2f7 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -376,8 +376,6 @@ void worker_main(void *arg) apr_pool_create_ex(&ptrans, NULL, NULL, allocator); apr_allocator_set_owner(allocator, ptrans); - bucket_alloc = apr_bucket_alloc_create(ptrans); - apr_pool_tag(ptrans, "transaction"); apr_thread_mutex_lock(worker_thread_count_mutex); @@ -393,6 +391,7 @@ void worker_main(void *arg) */ current_conn = NULL; apr_pool_clear(ptrans); + bucket_alloc = apr_bucket_alloc_create(ptrans); if ((ap_max_requests_per_child > 0 && requests_this_child++ >= ap_max_requests_per_child)) { -- 2.40.0