From: Bill Stoddard Date: Mon, 22 Oct 2001 17:57:26 +0000 (+0000) Subject: Win32: Fix server-status 'requests currently being processed' and 'idle workers' X-Git-Tag: 2.0.27~44 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8d70747aeb1d05804ff009ede083bc5bbe7bdfc7;p=thirdparty%2Fapache%2Fhttpd.git Win32: Fix server-status 'requests currently being processed' and 'idle workers' displays. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91637 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 6c660f8d4f6..6f983d3448b 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -1971,6 +1971,11 @@ AP_DECLARE(int) ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s ) /* Set up the scoreboard. */ ap_run_pre_mpm(pconf, SB_NOT_SHARED); + /* Humm... Should we put the parent pid here? Does it matter + * since the scoreboard is not shared? + */ + ap_scoreboard_image->parent[0].pid = parent_pid; + ap_scoreboard_image->parent[0].quiescing = 0; if (one_process) { if (ap_setup_listeners(ap_server_conf) < 1) { return 1;