fix request counter handling while discarding body, introduced in r3050
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index 775bb26..d293147 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c
@@ -477,6 +477,7 @@ return NGX_HTTP_INTERNAL_SERVER_ERROR; } + r->count++; (void) ngx_http_read_discarded_request_body(r); return NGX_OK;