Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions changes-entries/event-worker-child-exit.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*) mpm_event, mpm_worker: Fix possible crashes of child processes on an
ungraceful stop or restart, or at exit in one-process mode (-X), and a
child never exiting on a graceful stop when its listener thread is stuck
(mpm_event). A child now exits at once on an ungraceful stop even when
its connections are busy, and no longer runs the parent process' exit
handlers (e.g. OpenSSL's). [Yann Ylavic]
3 changes: 3 additions & 0 deletions server/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ AP_DECLARE(int) ap_start_lingering_close(conn_rec *c)
#endif
}

/* mpm_worker's worker_lingering_close() repeats this function (with the
* socket published until the close): keep them in sync.
*/
AP_DECLARE(void) ap_lingering_close(conn_rec *c)
{
char dummybuf[512];
Expand Down
Loading
Loading