diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-01-12 21:36:24 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-01-12 21:36:24 +0300 |
commit | 845b373bda88f2321b1c1870426e0f1a5afe4462 (patch) | |
tree | 79c43a8e2140430cab346bb9cb8fe7fee2ceacb2 /src | |
parent | c9ae1980161add744af9076f57078fd26c1342ec (diff) | |
download | unit-845b373bda88f2321b1c1870426e0f1a5afe4462.tar.gz unit-845b373bda88f2321b1c1870426e0f1a5afe4462.tar.bz2 |
Fixed reading of the rest of body, broken after 5817734dd9b9.
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_h1proto.c | 1 |
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); |