summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-09-22 16:42:42 +0300
committerValentin Bartenev <vbart@nginx.com>2017-09-22 16:42:42 +0300
commit45c1d41f34031c26344832f92837f08c0dbfba04 (patch)
tree13dcfc887eb020a59b9d8090bfa70e66858d97ea /src/nxt_router.c
parent6a78aedb7e6eef061bec4fc406fe930154b128fe (diff)
downloadunit-45c1d41f34031c26344832f92837f08c0dbfba04.tar.gz
unit-45c1d41f34031c26344832f92837f08c0dbfba04.tar.bz2
Removed fibers from compilation.
It's not used anyway, but breaks building with musl. This closes issue #5 on GitHub.
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index d9ba2d24..d3c60a94 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -1814,7 +1814,9 @@ nxt_router_thread_start(void *data)
engine->task.log = thread->log;
thread->engine = engine;
thread->task = &engine->task;
+#if 0
thread->fiber = &engine->fibers->fiber;
+#endif
engine->mem_pool = nxt_mp_create(4096, 128, 1024, 64);