1
0
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:
Yann Ylavic
2024-06-19 14:37:20 +00:00
parent 6990550415
commit e90af7e9e3

View File

@@ -3061,11 +3061,11 @@ PROXY_DECLARE(apr_status_t) ap_proxy_determine_address(const char *proxy_functio
apr_pool_cleanup_null);
}
else {
apr_pool_cleanup_run(conn->pool, conn->address,
proxy_address_cleanup);
if (!keep_conn_alive) {
conn_cleanup(conn);
}
apr_pool_cleanup_run(conn->pool, conn->address,
proxy_address_cleanup);
}
}