From 505c087ca367f92316ae04a622e749c7455b6c6e Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 3 Apr 2001 18:50:07 +0000 Subject: [PATCH] when handling a graceful restart, kill the child using the correct handle to the pipe of death; otherwise the syscall fails git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88696 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/threaded/threaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mpm/threaded/threaded.c b/server/mpm/threaded/threaded.c index a15f39cad7..4a0a3f7a53 100644 --- a/server/mpm/threaded/threaded.c +++ b/server/mpm/threaded/threaded.c @@ -1113,7 +1113,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) /* give the children the signal to die */ for (i = 0; i < ap_daemons_limit;) { - if ((rv = apr_file_write(pipe_of_death_in, &char_of_death, &one)) != APR_SUCCESS) { + if ((rv = apr_file_write(pipe_of_death_out, &char_of_death, &one)) != APR_SUCCESS) { if (APR_STATUS_IS_EINTR(rv)) continue; ap_log_error(APLOG_MARK, APLOG_WARNING, rv, ap_server_conf, "write pipe_of_death"); } -- 2.40.0