1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

add in child_init which is needed

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1483190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2013-05-16 04:28:14 +00:00
parent 66b3e65e76
commit 374bf1d928

View File

@@ -2514,6 +2514,15 @@ static void child_init(apr_pool_t *p, server_rec *s)
{
proxy_worker *reverse = NULL;
apr_status_t rv = apr_global_mutex_child_init(&proxy_mutex,
apr_global_mutex_lockfile(proxy_mutex),
p);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s, APLOGNO()
"could not init proxy_mutex in child");
exit(1); /* Ugly, but what else? */
}
/* TODO */
while (s) {
void *sconf = s->module_config;