Trunk version of patch works
+1: jim, jorton, rpluem
- * prefork: Stop processing new connections if shutdown_pending is set,
- i.e. when SIGTERM is received in single-process mode.
- PR 38848
- Trunk version of patch:
- http://svn.apache.org/viewvc?view=rev&revision=552029
- Backport version for 2.2.x of patch:
- Trunk version of patch works
- +1: jim, jorton, rpluem
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
bucket_alloc = apr_bucket_alloc_create(pchild);
- while (!die_now) {
+ /* die_now is set when AP_SIG_GRACEFUL is received in the child;
+ * shutdown_pending is set when SIGTERM is received when running
+ * in single process mode. */
+ while (!die_now && !shutdown_pending) {
conn_rec *current_conn;
void *csd;