From: Paul Querna Date: Thu, 22 Jan 2009 22:08:46 +0000 (+0000) Subject: Tag the pool at creation time. X-Git-Tag: 2.3.2~134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=932b13a81866b0201717be17c98c94cdc60b5c61;p=thirdparty%2Fapache%2Fhttpd.git Tag the pool at creation time. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@736822 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cluster/mod_heartbeat.c b/modules/cluster/mod_heartbeat.c index 079ded41589..3c456debe6f 100644 --- a/modules/cluster/mod_heartbeat.c +++ b/modules/cluster/mod_heartbeat.c @@ -139,6 +139,7 @@ static void* APR_THREAD_FUNC hb_worker(apr_thread_t *thd, void *data) } apr_pool_create(&tpool, pool); + apr_pool_tag(tpool, "heartbeat_worker_temp"); while (ctx->keep_running) { apr_pool_clear(tpool); int mpm_state = 0; @@ -154,7 +155,6 @@ static void* APR_THREAD_FUNC hb_worker(apr_thread_t *thd, void *data) break; } - apr_pool_tag(tpool, "heartbeat_worker_temp"); hb_monitor(ctx, tpool); apr_sleep(apr_time_from_sec(HEARTBEAT_INTERVAL)); }