On Wed, Feb 12, 2025 at 11:16 AM jean-frederic clere <jfcl...@gmail.com> wrote: > > According to my tests for some reasons ap_proxy_release_connection() now > does an apr_pool_clear() and was doing a connection_cleanup() before 2.4.58.
What does your ProxyPass/ProxyPassMatch look like? AFAICT connection_cleanup() closes the connection by clearing its pool only if !worker->s->is_address_reusable ([1]), meaning disablereuse=on or enablereuse=off was set ([2]), or the ProxyPassMatch contains a $-substitution in the hostname[:port] part of the URL ([3]). [1] https://github.com/apache/httpd/blob/2.4.63/modules/proxy/proxy_util.c#L1657-L1661 [2] https://github.com/apache/httpd/blob/2.4.63/modules/proxy/proxy_util.c#L2270-L2273 [3] https://github.com/apache/httpd/blob/2.4.63/modules/proxy/proxy_util.c#L1989-L2034 But it seems that mod_proxy_cluster is creating and initializing its own proxy workers, and I don't know which games it plays on its own with worker->s->disablereuse or worker->s->is_address_reusable or worker->s->is_address_reusable. Regards; Yann.