/[Apache-SVN]
ViewVC logotype

Revision 1912463


Jump to revision: Previous Next
Author: ylavic
Date: Thu Sep 21 13:44:51 2023 UTC (9 months, 1 week ago)
Changed paths: 2
Log Message:
mod_proxy: Allocate and pnitialize the workers and balancers on pconf.

On ungraceful restart, pchild might be destroyed without waiting for the MPM
threads, just before exit()ing but still there is a window where threads may
be using its data still.

Avoid possible exit path crashes by basing the workers/balancers on pconf,
which is not destroyed in children processes.

While at it, avoid the duplication of the generic "forward" worker for each
server(_rec), there can be a single instance like the generic "reverse"
worker.



Changed paths

Path Details
Directoryhttpd/httpd/trunk/modules/proxy/mod_proxy.c modified , text changed
Directoryhttpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26