From ff6ca2a82c956807e28bb290efa70e791e1f8f8d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 30 May 2018 18:46:05 +0300 Subject: Fixed keep-alive hanging after reconfiguration. --- src/nxt_conn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_conn.h') 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; -- cgit