changeset 3077:98f03cd8d6cc

fix request counter handling while discarding body, introduced in r3050
author Igor Sysoev <igor@sysoev.ru>
date Tue, 01 Sep 2009 12:40:27 +0000
parents 44ac242eb6ac
children 680cab09818d
files src/http/ngx_http_request_body.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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_r
         return NGX_HTTP_INTERNAL_SERVER_ERROR;
     }
 
+    r->count++;
     (void) ngx_http_read_discarded_request_body(r);
 
     return NGX_OK;