Fixed port handlers arrays.

This commit is contained in:
Valentin Bartenev
2017-09-15 14:38:22 +03:00
parent 7c1db30994
commit 90ae152ce0
2 changed files with 4 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ nxt_port_handler_t nxt_controller_process_port_handlers[] = {
NULL, /* NXT_PORT_MSG_START_WORKER */ NULL, /* NXT_PORT_MSG_START_WORKER */
NULL, /* NXT_PORT_MSG_SOCKET */ NULL, /* NXT_PORT_MSG_SOCKET */
NULL, /* NXT_PORT_MSG_MODULES */ NULL, /* NXT_PORT_MSG_MODULES */
NULL, /* NXT_PORT_MSG_CONF_STORE */
nxt_port_rpc_handler, nxt_port_rpc_handler,
nxt_port_rpc_handler, nxt_port_rpc_handler,
}; };

View File

@@ -1593,6 +1593,9 @@ static nxt_port_handler_t nxt_router_app_port_handlers[] = {
NULL, /* NXT_PORT_MSG_REMOVE_PID */ NULL, /* NXT_PORT_MSG_REMOVE_PID */
NULL, /* NXT_PORT_MSG_READY */ NULL, /* NXT_PORT_MSG_READY */
NULL, /* NXT_PORT_MSG_START_WORKER */ NULL, /* NXT_PORT_MSG_START_WORKER */
NULL, /* NXT_PORT_MSG_SOCKET */
NULL, /* NXT_PORT_MSG_MODULES */
NULL, /* NXT_PORT_MSG_CONF_STORE */
nxt_port_rpc_handler, nxt_port_rpc_handler,
nxt_port_rpc_handler, nxt_port_rpc_handler,
}; };