Router: read configuration from port.

Controller: stub to send configuration from POST body "as is" to router.
This commit is contained in:
Max Romanov
2017-07-06 18:38:51 +03:00
parent e1219569f4
commit c56d2af3bc
6 changed files with 96 additions and 19 deletions

View File

@@ -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;