Controller: waiting for router before start to accept connections.

Previously, reconfiguration might fail right after the daemon start
if the router process wasn't ready yet.
This commit is contained in:
Valentin Bartenev
2017-08-30 03:10:13 +03:00
parent e21dbf89e6
commit f528cb393a
3 changed files with 53 additions and 31 deletions

View File

@@ -98,6 +98,10 @@ nxt_port_t *nxt_process_connected_port_find(nxt_process_t *process,
nxt_pid_t pid, nxt_port_id_t port_id);
void nxt_worker_process_quit_handler(nxt_task_t *task,
nxt_port_recv_msg_t *msg);
#if (NXT_HAVE_SETPROCTITLE)
#define nxt_process_title(task, fmt, ...) \