You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2008/08/08 00:25:30 UTC

svn commit: r683738 - /apr/apr-util/trunk/memcache/apr_memcache.c

Author: bojan
Date: Thu Aug  7 15:25:29 2008
New Revision: 683738

URL: http://svn.apache.org/viewvc?rev=683738&view=rev
Log:
Use of pre_cleanups is not the default for reslists.
Explicitly set use of pre_cleanup.

Modified:
    apr/apr-util/trunk/memcache/apr_memcache.c

Modified: apr/apr-util/trunk/memcache/apr_memcache.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/memcache/apr_memcache.c?rev=683738&r1=683737&r2=683738&view=diff
==============================================================================
--- apr/apr-util/trunk/memcache/apr_memcache.c (original)
+++ apr/apr-util/trunk/memcache/apr_memcache.c Thu Aug  7 15:25:29 2008
@@ -399,6 +399,8 @@
                                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