summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-05-30 18:46:05 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-05-30 18:46:05 +0300
commitff6ca2a82c956807e28bb290efa70e791e1f8f8d (patch)
tree06ac66b0e5c8382d79b203fdf4d717b75f188160 /src/nxt_conn.h
parente54fb892a44705c5d6f81e0351070e368a6b38f1 (diff)
downloadunit-ff6ca2a82c956807e28bb290efa70e791e1f8f8d.tar.gz
unit-ff6ca2a82c956807e28bb290efa70e791e1f8f8d.tar.bz2
Fixed keep-alive hanging after reconfiguration.
Diffstat (limited to 'src/nxt_conn.h')
-rw-r--r--src/nxt_conn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_conn.h b/src/nxt_conn.h
index 92686703..534fe85f 100644
--- a/src/nxt_conn.h
+++ b/src/nxt_conn.h
@@ -106,6 +106,7 @@ typedef struct {
uint32_t ready;
uint32_t batch;
+ uint32_t count;
/* An accept() interface is cached to minimize memory accesses. */
nxt_work_handler_t accept;
@@ -156,8 +157,7 @@ struct nxt_conn_s {
nxt_task_t task;
nxt_log_t log;
- /* STUB: socket.data should be used later. */
- void *joint;
+ nxt_listen_event_t *listen;
nxt_sockaddr_t *remote;
nxt_sockaddr_t *local;