httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1096814 - /httpd/httpd/trunk/server/mpm/winnt/mpm_winnt.c
Date Tue, 26 Apr 2011 17:26:44 GMT
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;



Mime
View raw message