do not discard body if it has been already read
Igor Sysoev
14 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
src/http/ngx_http_request_body.c
less
more
441
441
ngx_del_timer(rev);
442
442
}
443
443
444
if (r->headers_in.content_length_n <= 0) {
444
if (r->headers_in.content_length_n <= 0 || r->request_body) {
445
445
return NGX_OK;
446
446
}
447
447