prevent handling discarded body as a pipelined request

This commit is contained in:
Igor Sysoev 2009-10-19 14:08:35 +00:00
parent 2495c4d50b
commit 11e5d7f190

View File

@ -460,6 +460,7 @@ ngx_http_discard_request_body(ngx_http_request_t *r)
if (size) {
if (r->headers_in.content_length_n > size) {
r->header_in->pos += size;
r->headers_in.content_length_n -= size;
} else {