apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r683738 - /apr/apr-util/trunk/memcache/apr_memcache.c
Date Thu, 07 Aug 2008 22:25:30 GMT
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



Mime
View raw message