]> git.kaiwu.me - nginx.git/commit
Disabled cloning of sockets without master process (ticket #2403).
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 23 Nov 2022 20:12:04 +0000 (23:12 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 23 Nov 2022 20:12:04 +0000 (23:12 +0300)
commit593bb543873ac57efade09dbcc2f93ab6b4d5ab0
tree39e04716e86991e16eef7bdd98ea1822ebd9c2b4
parent22223c75c9715e568f5710a8eed1fee9e7c2983f
Disabled cloning of sockets without master process (ticket #2403).

Cloning of listening sockets for each worker process does not make sense
when working without master process, and causes some of the connections
not to be accepted if worker_processes is set to more than one and there
are listening sockets configured with the reuseport flag.  Fix is to
disable cloning when master process is disabled.
src/event/ngx_event.c