summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_worker_process.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2018-04-26 16:44:20 +0300
committerMax Romanov <max.romanov@nginx.com>2018-04-26 16:44:20 +0300
commit179819dbee58242f95c2b866c67a4d6a0a863ef6 (patch)
treea60a57504830cc93ef1c53104ab769d712cbccf2 /src/nxt_worker_process.c
parent17160e93529ad72805617b4b7674f28bd1a627d7 (diff)
downloadunit-179819dbee58242f95c2b866c67a4d6a0a863ef6.tar.gz
unit-179819dbee58242f95c2b866c67a4d6a0a863ef6.tar.bz2
Controller waits READY message from router.
This required to avoid racing condition when controller receive router port before router receives controller port.
Diffstat (limited to '')
-rw-r--r--src/nxt_worker_process.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/nxt_worker_process.c b/src/nxt_worker_process.c
index 0e23aea0..bf35f2b5 100644
--- a/src/nxt_worker_process.c
+++ b/src/nxt_worker_process.c
@@ -30,19 +30,6 @@ nxt_port_handlers_t nxt_app_process_port_handlers = {
};
-nxt_port_handlers_t nxt_router_process_port_handlers = {
- .quit = nxt_worker_process_quit_handler,
- .new_port = nxt_router_new_port_handler,
- .change_file = nxt_port_change_log_file_handler,
- .mmap = nxt_port_mmap_handler,
- .data = nxt_router_conf_data_handler,
- .remove_pid = nxt_router_remove_pid_handler,
- .access_log = nxt_router_access_log_reopen_handler,
- .rpc_ready = nxt_port_rpc_handler,
- .rpc_error = nxt_port_rpc_handler,
-};
-
-
nxt_port_handlers_t nxt_discovery_process_port_handlers = {
.quit = nxt_worker_process_quit_handler,
.new_port = nxt_port_new_port_handler,