summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_h1proto.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-11 12:49:58 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-11 12:49:58 +0300
commitdc75c8395031254f84ee1b1bbe454b26d86a4266 (patch)
treed31bd6014646b8ab49c5f87177d7b6329a6e710c /src/nxt_h1proto.c
parent1fab64524606450103cf86167d175bb9531e93ed (diff)
downloadunit-dc75c8395031254f84ee1b1bbe454b26d86a4266.tar.gz
unit-dc75c8395031254f84ee1b1bbe454b26d86a4266.tar.bz2
Fixed pipelined request processing, broken by 9e16499b63f0.
Diffstat (limited to 'src/nxt_h1proto.c')
-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 14c59016..7443985b 100644
--- a/src/nxt_h1proto.c
+++ b/src/nxt_h1proto.c
@@ -1058,7 +1058,7 @@ nxt_h1p_keepalive(nxt_task_t *task, nxt_h1proto_t *h1p, nxt_conn_t *c)
in->mem.pos = in->mem.start;
in->mem.free = in->mem.start + size;
- nxt_h1p_conn_header_parse(task, c, c->socket.data);
+ nxt_h1p_conn_request_init(task, c, c->socket.data);
}
}