summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-10-19 17:37:19 +0300
committerMax Romanov <max.romanov@nginx.com>2017-10-19 17:37:19 +0300
commitb3aab8c66fa7269147a6696c98a52971020be6e8 (patch)
tree30fb2198ab3293f7248b6ae65692f792a590501e /src/nxt_port.h
parent6031c63225838d6bc266c4f015d9a1085f600324 (diff)
downloadunit-b3aab8c66fa7269147a6696c98a52971020be6e8.tar.gz
unit-b3aab8c66fa7269147a6696c98a52971020be6e8.tar.bz2
Filtering process to keep connection.
- Main process should be connected to all other processes. - Controller should be connected to Router. - Router should be connected to Controller and all Workers. - Workers should be connected to Router worker thread ports only. This filtering helps to avoid unnecessary communication and various errors during massive application workers stop / restart.
Diffstat (limited to 'src/nxt_port.h')
-rw-r--r--src/nxt_port.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nxt_port.h b/src/nxt_port.h
index bade2adb..0d913df5 100644
--- a/src/nxt_port.h
+++ b/src/nxt_port.h
@@ -227,8 +227,6 @@ nxt_int_t nxt_port_socket_write(nxt_task_t *task, nxt_port_t *port,
void nxt_port_enable(nxt_task_t *task, nxt_port_t *port,
nxt_port_handlers_t *handlers);
-void nxt_port_send_new_port(nxt_task_t *task, nxt_runtime_t *rt,
- nxt_port_t *port, uint32_t stream);
nxt_int_t nxt_port_send_port(nxt_task_t *task, nxt_port_t *port,
nxt_port_t *new_port, uint32_t stream);
void nxt_port_change_log_file(nxt_task_t *task, nxt_runtime_t *rt,