diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-09-01 12:40:27 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-01 12:40:27 +0000 |
| commit | b4cc2fc0d72248d78e85f394478fa25da73af509 (patch) | |
| tree | 1603ff22d2b82dfd6ebbf8b9c6f00862aed00ec9 /src | |
| parent | 56f06e69dfe8ebba7c236c4eb3d8d91a8f999bd4 (diff) | |
| download | nginx-b4cc2fc0d72248d78e85f394478fa25da73af509.tar.gz nginx-b4cc2fc0d72248d78e85f394478fa25da73af509.tar.bz2 | |
fix request counter handling while discarding body, introduced in r3050
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/ngx_http_request_body.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
