From: Jeff Trawick Date: Wed, 7 Jan 2009 18:37:18 +0000 (+0000) Subject: Release the accept mutex after receiving the shutdown signal X-Git-Tag: 2.3.2~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23d668030191463bb337e7c48516c375b0684284;p=apache Release the accept mutex after receiving the shutdown signal in single-process mode. (That isn't a critical step, but neatness counts.) Submitted by: rpleum git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@732421 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 320e103077..7fb366a7fa 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -549,6 +549,7 @@ static void child_main(int child_num_arg) if (status != APR_SUCCESS) { if (APR_STATUS_IS_EINTR(status)) { if (one_process && shutdown_pending) { + SAFE_ACCEPT(accept_mutex_off()); return; } else if (die_now) {