summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_worker_process.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-07-12 20:21:17 +0300
committerValentin Bartenev <vbart@nginx.com>2017-07-12 20:21:17 +0300
commitc38bcb7d70729434893ae4d5f2f58a78a36d2bd5 (patch)
treee05be6b95fc1fda97255e9c03dbb89e8acf8842b /src/nxt_worker_process.c
parent4f4061061b023cd88a2c54121853a8cb1922f100 (diff)
downloadunit-c38bcb7d70729434893ae4d5f2f58a78a36d2bd5.tar.gz
unit-c38bcb7d70729434893ae4d5f2f58a78a36d2bd5.tar.bz2
Controller: proper reconfiguration requests handling.
Now controller serializes all reconfiguration requests and waits for result from router.
Diffstat (limited to 'src/nxt_worker_process.c')
-rw-r--r--src/nxt_worker_process.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nxt_worker_process.c b/src/nxt_worker_process.c
index cdc1b1c5..86ee6408 100644
--- a/src/nxt_worker_process.c
+++ b/src/nxt_worker_process.c
@@ -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,