You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2018/01/29 16:48:45 UTC
svn propchange: r1822531 - svn:log
Author: ylavic
Revision: 1822531
Modified property: svn:log
Modified: svn:log at Mon Jan 29 16:48:45 2018
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Mon Jan 29 16:48:45 2018
@@ -1,8 +1,8 @@
mod_proxy: fix proxy connection cleanup from an n+2 pool.
-When connection_destructor() is called when pconf is gone, we can't dereference
-worker->cp anymore. This happens is one_process mode exit if we apr_terminate()
-or destroy the process pool directly (APR_POOL_DEBUG is needed too).
+When connection_destructor() is called after pchild is gone, we can't
+dereference worker->cp anymore. This happens is debug/one_process mode only,
+if we exit by calling apr_terminate() or clearing the process pool directly.
Fix this by NULL-ing worker->cp in conn_pool_cleanup(), and by registering it
as a pre_cleanup.