summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-07-12 18:29:22 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-07-12 18:29:22 +0300
commit071412a9aeb2a14f14848399ac3104c1eb03df38 (patch)
treea5c3f7d4b63b08886a2d3c62cca1a3f4eb45eede
parent4d818a6f237a5da6c600d648158639edc7dda6f3 (diff)
downloadunit-071412a9aeb2a14f14848399ac3104c1eb03df38.tar.gz
unit-071412a9aeb2a14f14848399ac3104c1eb03df38.tar.bz2
Fixed bug in "send_timeout" handling.
-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 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);