mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_proxy: Follow up to r1918438: Don't cleanup conn before running the address cleanup.
* modules/proxy/proxy_util.c(ap_proxy_determine_address): Move conn_cleanup() after apr_pool_cleanup_run(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918442 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -3061,11 +3061,11 @@ PROXY_DECLARE(apr_status_t) ap_proxy_determine_address(const char *proxy_functio
|
|||||||
apr_pool_cleanup_null);
|
apr_pool_cleanup_null);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
apr_pool_cleanup_run(conn->pool, conn->address,
|
||||||
|
proxy_address_cleanup);
|
||||||
if (!keep_conn_alive) {
|
if (!keep_conn_alive) {
|
||||||
conn_cleanup(conn);
|
conn_cleanup(conn);
|
||||||
}
|
}
|
||||||
apr_pool_cleanup_run(conn->pool, conn->address,
|
|
||||||
proxy_address_cleanup);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user