From 8c0374a5404a651a4836de93dd7e8a3a9b812eb8 Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Thu, 7 Aug 2008 22:25:29 +0000 Subject: [PATCH] Use of pre_cleanups is not the default for reslists. Explicitly set use of pre_cleanup. git-svn-id: https://svn.eu.apache.org/repos/asf/apr/apr-util/trunk@683738 13f79535-47bb-0310-9956-ffa450edef68 --- memcache/apr_memcache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/memcache/apr_memcache.c b/memcache/apr_memcache.c index 07a4ecb..b910053 100644 --- a/memcache/apr_memcache.c +++ b/memcache/apr_memcache.c @@ -399,6 +399,8 @@ APU_DECLARE(apr_status_t) apr_memcache_server_create(apr_pool_t *p, mc_conn_construct, /* Make a New Connection */ mc_conn_destruct, /* Kill Old Connection */ server, np); + + apr_reslist_cleanup_order_set(server->conns, APR_RESLIST_CLEANUP_FIRST); #else rv = mc_conn_construct((void**)&(server->conn), server, np); #endif -- 2.11.4.GIT