From: Igor Sysoev Date: Tue, 1 Sep 2009 12:40:27 +0000 (+0000) Subject: fix request counter handling while discarding body, introduced in r3050 X-Git-Tag: release-0.8.14~9 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=b4cc2fc0d72248d78e85f394478fa25da73af509;p=nginx.git 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 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;