summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-01-12 21:36:24 +0300
committerValentin Bartenev <vbart@nginx.com>2018-01-12 21:36:24 +0300
commit845b373bda88f2321b1c1870426e0f1a5afe4462 (patch)
tree79c43a8e2140430cab346bb9cb8fe7fee2ceacb2 /src
parentc9ae1980161add744af9076f57078fd26c1342ec (diff)
downloadunit-845b373bda88f2321b1c1870426e0f1a5afe4462.tar.gz
unit-845b373bda88f2321b1c1870426e0f1a5afe4462.tar.bz2
Fixed reading of the rest of body, broken after 5817734dd9b9.
Diffstat (limited to '')
-rw-r--r--src/nxt_h1proto.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c
index 35e66e4b..c3a100a4 100644
--- a/src/nxt_h1proto.c
+++ b/src/nxt_h1proto.c
@@ -477,7 +477,6 @@ nxt_h1p_body_read(nxt_task_t *task, void *obj, void *data)
r = h1p->request;
size = nxt_buf_mem_used_size(&c->read->mem);
- c->read->mem.pos += size;
r->rest_length -= size;
nxt_debug(task, "h1p body rest: %O", r->rest_length);