]> git.kaiwu.me - nginx.git/commit
Fixed removing of listening UNIX sockets when "changing binary".
authorRuslan Ermilov <ru@nginx.com>
Mon, 1 Jun 2020 17:19:27 +0000 (20:19 +0300)
committerRuslan Ermilov <ru@nginx.com>
Mon, 1 Jun 2020 17:19:27 +0000 (20:19 +0300)
commitda370de9904e00f48e59e92f8bff29d5fe6a3ff2
treef9d25115e21c27fe81d90679cfa8f844018d00e1
parent59a0ceb9947df7a082a239808a0dd56b5c8ceda6
Fixed removing of listening UNIX sockets when "changing binary".

When changing binary, sending a SIGTERM to the new binary's master process
should not remove inherited UNIX sockets unless the old binary's master
process has exited.
src/core/nginx.c
src/core/ngx_connection.c
src/core/ngx_cycle.c