1 Index: server/mpm/prefork/prefork.c
2 ===================================================================
3 --- server/mpm/prefork/prefork.c (wersja 1069427)
4 +++ server/mpm/prefork/prefork.c (wersja 1069428)
7 static void stop_listening(int sig)
9 + mpm_state = AP_MPMQ_STOPPING;
12 /* For a graceful stop, we want the child to exit when done */
17 + mpm_state = AP_MPMQ_STOPPING;
19 is_graceful = (sig == AP_SIG_GRACEFUL_STOP);
22 /* Probably not an error - don't bother reporting it */
25 + mpm_state = AP_MPMQ_STOPPING;
27 is_graceful = (sig == AP_SIG_GRACEFUL);
31 int ap_graceful_stop_signalled(void)
33 - /* not ever called anymore... */
35 + /* Return true if the server is stopping for whatever reason; the
36 + * function is used to initiate a fast exit from the connection
37 + * processing loop. */
38 + return mpm_state == AP_MPMQ_STOPPING;