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 2015/05/11 17:26:14 UTC
svn commit: r1678768 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Author: ylavic
Date: Mon May 11 15:26:13 2015
New Revision: 1678768
URL: http://svn.apache.org/r1678768
Log:
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().
Modified:
httpd/httpd/trunk/modules/proxy/proxy_util.c
Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1678768&r1=1678767&r2=1678768&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Mon May 11 15:26:13 2015
@@ -1368,7 +1368,7 @@ static apr_status_t connection_cleanup(v
* If the connection pool is NULL the worker
* cleanup has been run. Just return.
*/
- if (!worker->cp) {
+ if (!worker->cp->pool) {
return APR_SUCCESS;
}