commit | 11e5d7f19016225457efaf805fa3551a2528e278 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Oct 19 14:08:35 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Oct 19 14:08:35 2009 +0000 |
tree | b6c5737106b24cf735d5a4ad872ba1dfb32c41d8 | |
parent | 2495c4d50bbdaf1410808fd230ecca820c463934 [diff] |
prevent handling discarded body as a pipelined request
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index 3ee2ea4..d41e795 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c
@@ -460,6 +460,7 @@ if (size) { if (r->headers_in.content_length_n > size) { + r->header_in->pos += size; r->headers_in.content_length_n -= size; } else {