Mercurial > hg > nginx
changeset 1582:227152b66458
do not discard body if it has been already read
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 18 Oct 2007 11:29:15 +0000 |
parents | 81774dc3db28 |
children | 45cbc1aa8652 |
files | src/http/ngx_http_request_body.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_request_body.c Thu Oct 18 11:28:21 2007 +0000 +++ b/src/http/ngx_http_request_body.c Thu Oct 18 11:29:15 2007 +0000 @@ -442,7 +442,7 @@ ngx_del_timer(rev); } - if (r->headers_in.content_length_n <= 0) { + if (r->headers_in.content_length_n <= 0 || r->request_body) { return NGX_OK; }