From: David Reid Date: Thu, 8 Nov 2001 22:49:12 +0000 (+0000) Subject: Add back in the daemon commands so that User/Group are OK X-Git-Tag: 2.0.29~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=236df424d31478405b4136ff2f4cb137afd0e301;p=apache Add back in the daemon commands so that User/Group are OK in the conf file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91810 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c index fa98a58b04..a872b7654f 100644 --- a/server/mpm/beos/beos.c +++ b/server/mpm/beos/beos.c @@ -375,7 +375,7 @@ static int32 worker_thread(void * dummy) while (!this_worker_should_exit) { apr_int16_t event; apr_status_t ret; - + ret = apr_poll(pollset, &srv, -1); if (ret != APR_SUCCESS) { @@ -438,6 +438,7 @@ static int32 worker_thread(void * dummy) if (!this_worker_should_exit) { rv = apr_accept(&csd, sd, ptrans); + apr_lock_release(accept_mutex); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_ERR, rv, ap_server_conf, @@ -452,7 +453,6 @@ static int32 worker_thread(void * dummy) break; } apr_pool_clear(ptrans); - } ap_update_child_status(0, child_slot, SERVER_DEAD, (request_rec*)NULL); @@ -1088,6 +1088,7 @@ static const char *set_threads_per_child (cmd_parms *cmd, void *dummy, const cha } static const command_rec beos_cmds[] = { +BEOS_DAEMON_COMMANDS LISTEN_COMMANDS AP_INIT_TAKE1( "StartServers", set_daemons_to_start, NULL, RSRC_CONF, "Number of child processes launched at server startup"),