commit | 61baae30686844b46911f5246efd835e580452cf | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Jul 12 19:50:02 2018 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Jul 12 19:50:02 2018 +0300 |
tree | 6ca2cfcbd7a21422d630960eba9662272773e1a6 | |
parent | edde0378d2c52bf5f93a27ca513b64ed53c77768 [diff] |
Events: moved sockets cloning to ngx_event_init_conf(). Previously, listenings sockets were not cloned if the worker_processes directive was specified after "listen ... reuseport". This also simplifies upcoming configuration check on the number of worker connections, as it needs to know the number of listening sockets before cloning.