diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-08-02 13:14:31 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-08-02 13:14:31 +0300 |
commit | f2e9afdf422c1771d3029416c6284a46c4039781 (patch) | |
tree | f468d92f7055f53482abab254fd521aecafa6ec3 /src/nxt_master_process.c | |
parent | 3812ffd336414904affc43d29229b04a2d6d8ae6 (diff) | |
download | unit-f2e9afdf422c1771d3029416c6284a46c4039781.tar.gz unit-f2e9afdf422c1771d3029416c6284a46c4039781.tar.bz2 |
Port RPC interface introduced.
Usage:
1. Register handlers in incoming port with nxt_port_rpc_register_handler().
2. Use return value as a stream identifier for next nxt_port_socket_write().
Diffstat (limited to 'src/nxt_master_process.c')
-rw-r--r-- | src/nxt_master_process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c index bd72a752..9e32785f 100644 --- a/src/nxt_master_process.c +++ b/src/nxt_master_process.c @@ -200,6 +200,8 @@ static nxt_port_handler_t nxt_master_process_port_handlers[] = { nxt_port_master_data_handler, NULL, nxt_port_ready_handler, + nxt_port_rpc_handler, + nxt_port_rpc_handler, }; |