summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2021-11-24 13:11:50 +0300
committerMax Romanov <max.romanov@nginx.com>2021-11-24 13:11:50 +0300
commitaaa34e0a644912e49d7c5619749b67f585da9c85 (patch)
treee9a13205f13cab6c02163cbcca16586568d894ae /src/nxt_router.c
parentc33c2925d91510e1c059a1581aad6dd959817191 (diff)
downloadunit-aaa34e0a644912e49d7c5619749b67f585da9c85.tar.gz
unit-aaa34e0a644912e49d7c5619749b67f585da9c85.tar.bz2
Fixing zombie process appearance and hang up on shutdown.
After the c8790d2a89bb commit, the SIGCHLD handler may return before processing all awaiting PIDs. To avoid zombie processes and ensure successful main process termination, waitpid() must be called until an error is returned. This closes #600 issue on GitHub.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions