From b4cc2fc0d72248d78e85f394478fa25da73af509 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 1 Sep 2009 12:40:27 +0000 Subject: fix request counter handling while discarding body, introduced in r3050 --- src/http/ngx_http_request_body.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit