Controller: proper reconfiguration requests handling.

Now controller serializes all reconfiguration requests
and waits for result from router.
This commit is contained in:
Valentin Bartenev
2017-07-12 20:21:17 +03:00
parent 4f4061061b
commit c38bcb7d70
6 changed files with 154 additions and 45 deletions

View File

@@ -22,6 +22,16 @@ static void nxt_worker_process_sigquit_handler(nxt_task_t *task, void *obj,
void *data);
nxt_port_handler_t nxt_controller_process_port_handlers[] = {
nxt_worker_process_quit_handler,
nxt_port_new_port_handler,
nxt_port_change_log_file_handler,
nxt_port_mmap_handler,
nxt_port_controller_data_handler,
nxt_port_remove_pid_handler,
};
nxt_port_handler_t nxt_worker_process_port_handlers[] = {
nxt_worker_process_quit_handler,
nxt_port_new_port_handler,