From 071412a9aeb2a14f14848399ac3104c1eb03df38 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 12 Jul 2018 18:29:22 +0300 Subject: Fixed bug in "send_timeout" handling. --- src/nxt_h1proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_h1proto.c') diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c index 52a52f79..77acd61b 100644 --- a/src/nxt_h1proto.c +++ b/src/nxt_h1proto.c @@ -1251,7 +1251,7 @@ nxt_h1p_conn_request_send_timeout(nxt_task_t *task, void *obj, void *data) nxt_debug(task, "h1p conn request send timeout"); - c = nxt_read_timer_conn(timer); + c = nxt_write_timer_conn(timer); h1p = c->socket.data; nxt_h1p_request_error(task, h1p->request); -- cgit