summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-06 18:38:51 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-06 18:38:51 +0300
commitc56d2af3bcb10ca27b74c2fe123ea98dea07f0a0 (patch)
tree03e5469e6b32ccf31c52746c40358dd3f83e91d8 /src/nxt_master_process.c
parente1219569f4433f9b45bc9db5c02c5cc5f66b69ab (diff)
downloadunit-c56d2af3bcb10ca27b74c2fe123ea98dea07f0a0.tar.gz
unit-c56d2af3bcb10ca27b74c2fe123ea98dea07f0a0.tar.bz2
Router: read configuration from port.
Controller: stub to send configuration from POST body "as is" to router.
Diffstat (limited to 'src/nxt_master_process.c')
-rw-r--r--src/nxt_master_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c
index 54b5c11c..d2262a1b 100644
--- a/src/nxt_master_process.c
+++ b/src/nxt_master_process.c
@@ -166,7 +166,7 @@ nxt_master_start_router_process(nxt_task_t *task, nxt_runtime_t *rt)
init->start = nxt_router_start;
init->name = "router process";
init->user_cred = &rt->user_cred;
- init->port_handlers = nxt_worker_process_port_handlers;
+ init->port_handlers = nxt_router_process_port_handlers;
init->signals = nxt_worker_process_signals;
init->type = NXT_PROCESS_ROUTER;