Skip to content

Commit

Permalink
use graceful exit if lister started
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1916243 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
covener committed Mar 12, 2024
1 parent 179b1ac commit 1d948e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mpm/event/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 1d948e9

Please sign in to comment.