aboutsummaryrefslogtreecommitdiff
path: root/src/event/modules/ngx_kqueue_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/modules/ngx_kqueue_module.c')
-rw-r--r--src/event/modules/ngx_kqueue_module.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/event/modules/ngx_kqueue_module.c b/src/event/modules/ngx_kqueue_module.c
index f1688bbd2..3846d5f72 100644
--- a/src/event/modules/ngx_kqueue_module.c
+++ b/src/event/modules/ngx_kqueue_module.c
@@ -6,11 +6,16 @@
#include <ngx_config.h>
#include <ngx_core.h>
-#include <ngx_connection.h>
#include <ngx_event.h>
#include <ngx_kqueue_module.h>
+typedef struct {
+ int changes;
+ int events;
+} ngx_kqueue_conf_t;
+
+
static int ngx_kqueue_init(ngx_log_t *log);
static void ngx_kqueue_done(ngx_log_t *log);
static int ngx_kqueue_add_event(ngx_event_t *ev, int event, u_int flags);
@@ -210,7 +215,7 @@ static int ngx_kqueue_set_event(ngx_event_t *ev, int filter, u_int flags)
c = ev->data;
#if (NGX_DEBUG_EVENT)
- ngx_log_debug(ev->log, "kqueue set event: %d: ft:%d f:%08x" _
+ ngx_log_debug(ev->log, "kqueue set event: %d: ft:%d fl:%08x" _
c->fd _ filter _ flags);
#endif
@@ -322,13 +327,13 @@ static int ngx_kqueue_process_events(ngx_log_t *log)
#if (NGX_DEBUG_EVENT)
if (event_list[i].ident > 0x8000000) {
ngx_log_debug(log,
- "kevent: %08x: ft:%d f:%08x ff:%08x d:%d ud:%08x" _
+ "kevent: %08x: ft:%d fl:%08x ff:%08x d:%d ud:%08x" _
event_list[i].ident _ event_list[i].filter _
event_list[i].flags _ event_list[i].fflags _
event_list[i].data _ event_list[i].udata);
} else {
ngx_log_debug(log,
- "kevent: %d: ft:%d f:%08x ff:%08x d:%d ud:%08x" _
+ "kevent: %d: ft:%d fl:%08x ff:%08x d:%d ud:%08x" _
event_list[i].ident _ event_list[i].filter _
event_list[i].flags _ event_list[i].fflags _
event_list[i].data _ event_list[i].udata);