From 8e9a95037482770f8cf3ac1d59f76c29f313c977 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 12 Apr 2018 17:11:33 +0300 Subject: [PATCH] Fixed idle timeout, broken in b3e55c647741. --- src/nxt_h1proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c index b9849ee8..03f232b1 100644 --- a/src/nxt_h1proto.c +++ b/src/nxt_h1proto.c @@ -178,7 +178,7 @@ static const nxt_conn_state_t nxt_h1p_idle_state .timer_handler = nxt_h1p_conn_timeout, .timer_value = nxt_h1p_conn_timeout_value, - .timer_data = offsetof(nxt_socket_conf_t, header_read_timeout), + .timer_data = offsetof(nxt_socket_conf_t, idle_timeout), };