]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
WinNT MPM has hard-coded daemon limit of 1, not 0
authorJeff Trawick <trawick@apache.org>
Tue, 26 Apr 2011 17:26:44 +0000 (17:26 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 26 Apr 2011 17:26:44 +0000 (17:26 +0000)
trunk mod_status relies on this value for proper formatting
of the workers; now we see '-' for the idle WinNT MPM workers
instead of ' '

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

server/mpm/winnt/mpm_winnt.c

index e819d863d76b34614f576851b7310046fd92cd14..70f34798c96dc33510e4b86dddca402ac99a6332 100644 (file)
@@ -962,7 +962,7 @@ static int winnt_query(int query_code, int *result, apr_status_t *rv)
             *result = ap_max_requests_per_child;
             break;
         case AP_MPMQ_MAX_DAEMONS:
-            *result = 0;
+            *result = 1;
             break;
         case AP_MPMQ_MPM_STATE:
             *result = winnt_mpm_state;