You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@apache.org on 2004/02/28 20:02:25 UTC
cvs commit: httpd-2.0/server/mpm/winnt mpm_winnt.c
stoddard 2004/02/28 11:02:25
Modified: server/mpm/winnt mpm_winnt.c
Log:
Win32: Shutdown the server on critical child failures that will prevent the server from operating
Revision Changes Path
1.310 +2 -1 httpd-2.0/server/mpm/winnt/mpm_winnt.c
Index: mpm_winnt.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/winnt/mpm_winnt.c,v
retrieving revision 1.309
retrieving revision 1.310
diff -u -r1.309 -r1.310
--- mpm_winnt.c 9 Feb 2004 20:40:51 -0000 1.309
+++ mpm_winnt.c 28 Feb 2004 19:02:24 -0000 1.310
@@ -944,8 +944,9 @@
if ( exitcode == APEXIT_CHILDFATAL
|| exitcode == APEXIT_CHILDINIT
|| exitcode == APEXIT_INIT) {
- ap_log_error(APLOG_MARK, APLOG_ERR, 0, ap_server_conf,
+ ap_log_error(APLOG_MARK, APLOG_CRIT, 0, ap_server_conf,
"Parent: child process exited with status %u -- Aborting.", exitcode);
+ shutdown_pending = 1;
}
else {
int i;