Closed duhoobo closed 10 years ago
Under Nginx 1.4.2, ngx_http_read_client_request_body will decrease r->main->count if rc >= NGX_HTTP_SPECIAL_RESPONSE, and then ngx_http_echo_handler decreases it again.
ngx_http_read_client_request_body
r->main->count
rc >= NGX_HTTP_SPECIAL_RESPONSE
ngx_http_echo_handler
Thank you for the report! Already fixed in master :)
Under Nginx 1.4.2,
ngx_http_read_client_request_body
will decreaser->main->count
ifrc >= NGX_HTTP_SPECIAL_RESPONSE
, and thenngx_http_echo_handler
decreases it again.