Klaus Demo nginx / a6ea2f8
Events: added check for duplicate "events" directive. Valentin Bartenev 6 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
891891 ngx_conf_t pcf;
892892 ngx_event_module_t *m;
893893
894 if (*(void **) conf) {
895 return "is duplicate";
896 }
897
894898 /* count the number of the event modules and set up their indices */
895899
896900 ngx_event_max_module = 0;