]> granicus.if.org Git - apache/commitdiff
mod_proxy: check for the correct pool (lifetime) in connection_cleanup(),
authorYann Ylavic <ylavic@apache.org>
Mon, 11 May 2015 15:26:13 +0000 (15:26 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 11 May 2015 15:26:13 +0000 (15:26 +0000)
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

index 61ba1d19bdb92fd80a8043883ad316471e5dd9fe..2b6e4c4f81c88c7657d5ed7d32216e09fbba482c 100644 (file)
@@ -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;
     }