ASF Bugzilla – Attachment 26600 Details for
Bug 41743
Graceful restarts don't effect children in keepalive until they exit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to solve this bug - based on head of trunk (r1066631), including correctly updating mpm_state
httpd-trunk-bug-41743.patch (text/plain), 960 bytes, created by
Andrew
on 2011-02-02 20:52:11 UTC
(
hide
)
Description:
Patch to solve this bug - based on head of trunk (r1066631), including correctly updating mpm_state
Filename:
MIME Type:
Creator:
Andrew
Created:
2011-02-02 20:52:11 UTC
Size:
960 bytes
patch
obsolete
>Index: server/mpm/prefork/prefork.c >=================================================================== >--- server/mpm/prefork/prefork.c (revision 1066660) >+++ server/mpm/prefork/prefork.c (working copy) >@@ -313,11 +313,13 @@ > > static void just_die(int sig) > { >+ mpm_state = AP_MPMQ_STOPPING; > clean_child_exit(0); > } > > static void stop_listening(int sig) > { >+ mpm_state = AP_MPMQ_STOPPING; > ap_close_listeners(); > > /* For a graceful stop, we want the child to exit when done */ >@@ -331,6 +333,7 @@ > > static void sig_term(int sig) > { >+ mpm_state = AP_MPMQ_STOPPING; > if (shutdown_pending == 1) { > /* Um, is this _probably_ not an error, if the user has > * tried to do a shutdown twice quickly, so we won't >@@ -347,6 +350,7 @@ > */ > static void restart(int sig) > { >+ mpm_state = AP_MPMQ_STOPPING; > if (restart_pending == 1) { > /* Probably not an error - don't bother reporting it */ > return;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41743
:
26556
|
26584
|
26598
|
26599
| 26600 |
26623