2015-12-03 10:25:59 +00:00
|
|
|
http://permalink.gmane.org/gmane.comp.apache.cvs/44631
|
2016-04-11 06:22:40 +00:00
|
|
|
Index: httpd-2.4.20/server/mpm/event/event.c
|
|
|
|
===================================================================
|
|
|
|
--- httpd-2.4.20.orig/server/mpm/event/event.c
|
|
|
|
+++ httpd-2.4.20/server/mpm/event/event.c
|
|
|
|
@@ -3094,8 +3094,7 @@ static int event_open_logs(apr_pool_t *
|
2015-12-03 10:25:59 +00:00
|
|
|
|
|
|
|
all_buckets = apr_pcalloc(pconf, num_buckets * sizeof(*all_buckets));
|
|
|
|
for (i = 0; i < num_buckets; i++) {
|
|
|
|
- if (!one_process && /* no POD in one_process mode */
|
|
|
|
- (rv = ap_mpm_podx_open(pconf, &all_buckets[i].pod))) {
|
|
|
|
+ if (rv = ap_mpm_podx_open(pconf, &all_buckets[i].pod)) {
|
|
|
|
ap_log_error(APLOG_MARK, APLOG_CRIT | level_flags, rv,
|
|
|
|
(startup ? NULL : s),
|
|
|
|
"could not open pipe-of-death");
|
2016-04-11 06:22:40 +00:00
|
|
|
Index: httpd-2.4.20/server/mpm/worker/worker.c
|
|
|
|
===================================================================
|
|
|
|
--- httpd-2.4.20.orig/server/mpm/worker/worker.c
|
|
|
|
+++ httpd-2.4.20/server/mpm/worker/worker.c
|
|
|
|
@@ -2051,8 +2051,7 @@ static int worker_open_logs(apr_pool_t *
|
2015-12-03 10:25:59 +00:00
|
|
|
|
|
|
|
all_buckets = apr_pcalloc(pconf, num_buckets * sizeof(*all_buckets));
|
|
|
|
for (i = 0; i < num_buckets; i++) {
|
|
|
|
- if (!one_process && /* no POD in one_process mode */
|
|
|
|
- (rv = ap_mpm_podx_open(pconf, &all_buckets[i].pod))) {
|
|
|
|
+ if (rv = ap_mpm_podx_open(pconf, &all_buckets[i].pod)) {
|
|
|
|
ap_log_error(APLOG_MARK, APLOG_CRIT | level_flags, rv,
|
|
|
|
(startup ? NULL : s),
|
|
|
|
"could not open pipe-of-death");
|