From 96b44e1bfb6c5870442da42b0105effcb456f5ee Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 1 Sep 2009 12:40:27 +0000 Subject: [PATCH] fix request counter handling while discarding body, introduced in r3050 --- src/http/ngx_http_request_body.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index 775bb2642..d29314747 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -477,6 +477,7 @@ ngx_http_discard_request_body(ngx_http_request_t *r) return NGX_HTTP_INTERNAL_SERVER_ERROR; } + r->count++; (void) ngx_http_read_discarded_request_body(r); return NGX_OK;