You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2011/04/26 19:26:44 UTC

svn commit: r1096814 - /httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c

Author: trawick
Date: Tue Apr 26 17:26:44 2011
New Revision: 1096814

URL: http://svn.apache.org/viewvc?rev=1096814&view=rev
Log:
WinNT MPM has hard-coded daemon limit of 1, not 0

trunk mod_status relies on this value for proper formatting
of the workers; now we see '-' for the idle WinNT MPM workers
instead of ' '

Modified:
    httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c

Modified: httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c?rev=1096814&r1=1096813&r2=1096814&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c (original)
+++ httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c Tue Apr 26 17:26:44 2011
@@ -962,7 +962,7 @@ static int winnt_query(int query_code, i
             *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;