summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_engine.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-05-31 15:26:45 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-05-31 15:26:45 +0300
commit5bc011afad76fe7576ef0e0ed7ca7eb5417cf338 (patch)
tree0db06be61c62ecabb5225f69688da8ab4424aa36 /src/nxt_event_engine.c
parentdee819daabe6e7ab462beac779ab0dfd7d648844 (diff)
downloadunit-5bc011afad76fe7576ef0e0ed7ca7eb5417cf338.tar.gz
unit-5bc011afad76fe7576ef0e0ed7ca7eb5417cf338.tar.bz2
Skeleton of router configuration and request processing.
Diffstat (limited to 'src/nxt_event_engine.c')
-rw-r--r--src/nxt_event_engine.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nxt_event_engine.c b/src/nxt_event_engine.c
index bd10a270..52bfa39d 100644
--- a/src/nxt_event_engine.c
+++ b/src/nxt_event_engine.c
@@ -44,9 +44,6 @@ nxt_event_engine_create(nxt_task_t *task,
engine->task.log = thread->log;
engine->task.ident = nxt_task_next_ident();
- thread->engine = engine;
- thread->fiber = &engine->fibers->fiber;
-
engine->batch = batch;
if (flags & NXT_ENGINE_FIBERS) {
@@ -121,6 +118,7 @@ nxt_event_engine_create(nxt_task_t *task,
engine->max_connections = 0xffffffff;
+ nxt_queue_init(&engine->joints);
nxt_queue_init(&engine->listen_connections);
nxt_queue_init(&engine->idle_connections);