summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-12 20:32:16 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-12 20:32:16 +0300
commitb0c1e740cf404f8fed5eed75fddb205ca74314e0 (patch)
tree08dcefc827c5dfb1570b682ea8d1e9abf17a31dc /src/nxt_conn.h
parentc38bcb7d70729434893ae4d5f2f58a78a36d2bd5 (diff)
downloadunit-b0c1e740cf404f8fed5eed75fddb205ca74314e0.tar.gz
unit-b0c1e740cf404f8fed5eed75fddb205ca74314e0.tar.bz2
New process port exchange changed. READY message type introduced.
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready.
Diffstat (limited to '')
-rw-r--r--src/nxt_conn.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nxt_conn.h b/src/nxt_conn.h
index f440e04b..fa9f5b9d 100644
--- a/src/nxt_conn.h
+++ b/src/nxt_conn.h
@@ -187,8 +187,11 @@ typedef uint32_t nxt_req_id_t;
typedef struct {
nxt_req_id_t req_id;
nxt_conn_t *conn;
+ nxt_port_t *app_port;
+ nxt_port_t *reply_port;
- nxt_queue_link_t link;
+ nxt_queue_link_t link; /* for nxt_conn_t.requests */
+ nxt_queue_link_t app_link; /* for nxt_app_t.requests */
} nxt_req_conn_link_t;