diff options
author | Eric Covener <covener@apache.org> | 2024-03-12 01:28:34 +0100 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2024-03-12 01:28:34 +0100 |
commit | 1d948e92fc5413ddba58d8b023f6e02e41923324 (patch) | |
tree | 9c5922c5768c7a6fc34e09b3840cb2cf345ab6c0 /server | |
parent | event: avoid possible hang in clean_child_exit (diff) | |
download | apache2-1d948e92fc5413ddba58d8b023f6e02e41923324.tar.xz apache2-1d948e92fc5413ddba58d8b023f6e02e41923324.zip |
use graceful exit if lister started
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916243 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/mpm/event/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index e4af652ba3..831d3c2516 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -2749,7 +2749,7 @@ static void *APR_THREAD_FUNC start_threads(apr_thread_t * thd, void *dummy) APLOGNO(03104) "ap_thread_create: unable to create worker thread"); /* let the parent decide how bad this really is */ - signal_threads(ST_UNGRACEFUL); + signal_threads(listener_started ? ST_GRACEFUL : ST_UNGRACEFUL); clean_child_exit(APEXIT_CHILDSICK); } threads_created++; |