]> granicus.if.org Git - apache/commitdiff
Win32: Shutdown the server on critical child failures that will prevent the server...
authorBill Stoddard <stoddard@apache.org>
Sat, 28 Feb 2004 19:02:24 +0000 (19:02 +0000)
committerBill Stoddard <stoddard@apache.org>
Sat, 28 Feb 2004 19:02:24 +0000 (19:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102804 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index c4a8e6ee5b8241519802cc36686d2704cb88d8c7..578c88fa7dd93ba888669051414a50f290675f74 100644 (file)
@@ -944,8 +944,9 @@ static int master_main(server_rec *s, HANDLE shutdown_event, HANDLE restart_even
         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;