From 85e485776b9c52e1762e6cc53406e956c604d9de Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 4 Oct 2017 15:01:15 +0300 Subject: Using port 'post' facility to proxy remove pid message to workers. Remove pid proxying to worker engines implementation was originally overcomplicated. Memory pool and 2 engine posts (there and back again) are optimized out and replaced with band new nxt_port_post() call. --- src/nxt_controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_controller.c') diff --git a/src/nxt_controller.c b/src/nxt_controller.c index 4a0d065b..d4d8023e 100644 --- a/src/nxt_controller.c +++ b/src/nxt_controller.c @@ -189,7 +189,7 @@ nxt_controller_process_new_port_handler(nxt_task_t *task, nxt_port_new_port_handler(task, msg); - if (msg->new_port->type != NXT_PROCESS_ROUTER) { + if (msg->u.new_port->type != NXT_PROCESS_ROUTER) { return; } -- cgit