From ff720d0f56ee8f3dca7953938eed2d183e320969 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Mon, 11 May 2015 15:26:13 +0000 Subject: [PATCH] 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 --- modules/proxy/proxy_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0