]> git.kaiwu.me - nginx.git/commitdiff
fix request counter handling while discarding body, introduced in r3050
authorIgor Sysoev <igor@sysoev.ru>
Tue, 1 Sep 2009 12:40:27 +0000 (12:40 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 1 Sep 2009 12:40:27 +0000 (12:40 +0000)
src/http/ngx_http_request_body.c

index 775bb26421c20d69fbb5755ec4049acd931b03a7..d293147470c5f04aff315f0285a50abe57943278 100644 (file)
@@ -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;