From: Yann Ylavic Date: Mon, 11 May 2015 15:26:13 +0000 (+0000) Subject: mod_proxy: check for the correct pool (lifetime) in connection_cleanup(), X-Git-Tag: 2.5.0-alpha~3158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff720d0f56ee8f3dca7953938eed2d183e320969;p=apache mod_proxy: check for the correct pool (lifetime) in connection_cleanup(), according to the associated comment and the value really NULLed in conn_pool_cleanup(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1678768 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 61ba1d19bd..2b6e4c4f81 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1368,7 +1368,7 @@ static apr_status_t connection_cleanup(void *theconn) * If the connection pool is NULL the worker * cleanup has been run. Just return. */ - if (!worker->cp) { + if (!worker->cp->pool) { return APR_SUCCESS; }