diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index f16b2f199..059a95229 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h @@ -303,8 +303,12 @@ extern ngx_event_actions_t ngx_event_actions; * /dev/poll: we need to flush POLLREMOVE event * before closing file. */ - #define NGX_CLOSE_EVENT 1 + +/* + * disable temporarily event filter, this may avoid locks + * in kernel malloc()/free(): kqueue. + */ #define NGX_DISABLE_EVENT 2