summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_h1proto.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-04-12 17:11:33 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-04-12 17:11:33 +0300
commit8e9a95037482770f8cf3ac1d59f76c29f313c977 (patch)
tree0dc1ba74142a515a3b22b0dccd76fd358e74fbbc /src/nxt_h1proto.c
parent62aa3a5dae0c0a0124cd436c6073ccab274235aa (diff)
downloadunit-8e9a95037482770f8cf3ac1d59f76c29f313c977.tar.gz
unit-8e9a95037482770f8cf3ac1d59f76c29f313c977.tar.bz2
Fixed idle timeout, broken in b3e55c647741.
Diffstat (limited to '')
-rw-r--r--src/nxt_h1proto.c2
1 files changed, 1 insertions, 1 deletions
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),
};