Klaus Demo nginx / cc4078f
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
441441 ngx_del_timer(rev);
442442 }
443443
444 if (r->headers_in.content_length_n <= 0) {
444 if (r->headers_in.content_length_n <= 0 || r->request_body) {
445445 return NGX_OK;
446446 }
447447