]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Win32: Fix server-status 'requests currently being processed' and 'idle workers'
authorBill Stoddard <stoddard@apache.org>
Mon, 22 Oct 2001 17:57:26 +0000 (17:57 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 22 Oct 2001 17:57:26 +0000 (17:57 +0000)
displays.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91637 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index 6c660f8d4f6ccf0a9e908cbb90c2b58e23201f65..6f983d3448be7a9060c334792519961d26e7ed01 100644 (file)
@@ -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;