diff options
author | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-07 22:25:29 +0000 |
---|---|---|
committer | bojan <bojan@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-07 22:25:29 +0000 |
commit | 763203d13357718e3d7d1549b52a18fe963cc7ef (patch) | |
tree | bbd28ed91b2d1db51d55b04040ceaee983e87f90 | |
parent | 83226211d44becad3909ce6895cfc42222fed05b (diff) | |
download | libapr-util-763203d13357718e3d7d1549b52a18fe963cc7ef.tar.gz |
Use of pre_cleanups is not the default for reslists.
Explicitly set use of pre_cleanup.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683738 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | memcache/apr_memcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/memcache/apr_memcache.c b/memcache/apr_memcache.c index 07a4ecb3..b9100534 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 |