]> git.kaiwu.me - nginx.git/commit
Fixed master exit if there is no events section (ticket #150).
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 18 Apr 2012 14:47:10 +0000 (14:47 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 18 Apr 2012 14:47:10 +0000 (14:47 +0000)
commita73ce28e0a6d855daaf2cd2a40bbf65762e58f2a
treef9ce8d5be1480ce0fd7eee5fc29a3c5ad19ae5ca
parente9a7f4f5f6c2f95e582d1b498b6056a2309da0fa
Fixed master exit if there is no events section (ticket #150).

Instead of checking if there is events{} section present in configuration
in init_module handler we now do the same in init_conf handler.  This
allows master process to detect incorrect configuration early and
reject it.
src/event/ngx_event.c