summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-08-02 13:36:29 +0300
committerMax Romanov <max.romanov@nginx.com>2017-08-02 13:36:29 +0300
commitb150f07e801802124ca6f3b29b4b9f97aa68d52b (patch)
tree6dbf83af6b7e2787e0c918b0017765d074c70057 /src/nxt_router.c
parentf23f985899760fafd853e993d9023b1339f09533 (diff)
downloadunit-b150f07e801802124ca6f3b29b4b9f97aa68d52b.tar.gz
unit-b150f07e801802124ca6f3b29b4b9f97aa68d52b.tar.bz2
Added basic port error handler.
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 7c197a44..5f654050 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -1386,7 +1386,8 @@ nxt_router_thread_start(void *data)
engine->mem_pool = nxt_mp_create(4096, 128, 1024, 64);
- port = nxt_port_new(nxt_port_get_next_id(), nxt_pid, NXT_PROCESS_ROUTER);
+ port = nxt_port_new(task, nxt_port_get_next_id(), nxt_pid,
+ NXT_PROCESS_ROUTER);
if (nxt_slow_path(port == NULL)) {
return;
}