diff options
Diffstat (limited to 'src/event/modules/ngx_kqueue_module.c')
| -rw-r--r-- | src/event/modules/ngx_kqueue_module.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/event/modules/ngx_kqueue_module.c b/src/event/modules/ngx_kqueue_module.c index 17e991eef..51df43bb2 100644 --- a/src/event/modules/ngx_kqueue_module.c +++ b/src/event/modules/ngx_kqueue_module.c @@ -72,6 +72,10 @@ ngx_event_module_t ngx_kqueue_module_ctx = { NULL, /* delete an connection */ ngx_kqueue_process_events, /* process the events */ ngx_kqueue_init, /* init the events */ +#if 0 + ngx_kqueue_commit, /* commit the events */ + ngx_kqueue_rollback, /* rollback the events */ +#endif ngx_kqueue_done /* done the events */ } @@ -82,7 +86,12 @@ ngx_module_t ngx_kqueue_module = { &ngx_kqueue_module_ctx, /* module context */ ngx_kqueue_commands, /* module directives */ NGX_EVENT_MODULE, /* module type */ - NULL /* init module */ + NULL, /* init module */ + NULL, /* commit module */ + NULL, /* rollback module */ +#if 0 + NULL /* init child */ +#endif }; @@ -171,9 +180,6 @@ static void ngx_kqueue_commit(ngx_cycle_t *cycle, ngx_log_t *log) ngx_event_timer_commit(cycle, log); - /* TODO: re-add active events with new udata - if ecf->connections was increased */ - ngx_event_actions = ngx_kqueue_module_ctx.actions; ngx_io = ngx_os_io; |
