From: Jeff Trawick Date: Tue, 26 Apr 2011 17:26:44 +0000 (+0000) Subject: WinNT MPM has hard-coded daemon limit of 1, not 0 X-Git-Tag: 2.3.12~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b615a1ca10fb652f6fd6696f5b4920f9b5c3c429;p=thirdparty%2Fapache%2Fhttpd.git 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 ' ' git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096814 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index e819d863d76..70f34798c96 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -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;