altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd-2.4.6-mpm-segfault.patch

008793
--- a/server/mpm/event/event.c  
008793
+++ a/server/mpm/event/event.c  
008793
@@ -2735,6 +2735,7 @@ static int event_run(apr_pool_t * _pconf, apr_pool_t * plog, server_rec * s)
008793
 
008793
     /* we've been told to restart */
008793
     apr_signal(SIGHUP, SIG_IGN);
008793
+    apr_signal(AP_SIG_GRACEFUL, SIG_IGN);
008793
 
008793
     if (one_process) {
008793
         /* not worth thinking about */
008793
008793
--- a/server/mpm/worker/worker.c
008793
+++ b/server/mpm/worker/worker.c
008793
@@ -1902,6 +1902,7 @@ static int worker_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
008793
 
008793
     /* we've been told to restart */
008793
     apr_signal(SIGHUP, SIG_IGN);
008793
+    apr_signal(AP_SIG_GRACEFUL, SIG_IGN);
008793
 
008793
     if (one_process) {
008793
         /* not worth thinking about */