diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-08-26 16:04:05 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-08-26 16:04:05 +0000 |
| commit | b603dd4b43b8c4b2cf8a1e74a87fd5799ab537b6 (patch) | |
| tree | aa0664cbf5c6812aa0dd3335d01f2496233061d4 /src/http/ngx_http_request_body.c | |
| parent | 450659e62a74d2f4abe17c7a0dec77ffd3b9f123 (diff) | |
| download | nginx-b603dd4b43b8c4b2cf8a1e74a87fd5799ab537b6.tar.gz nginx-b603dd4b43b8c4b2cf8a1e74a87fd5799ab537b6.tar.bz2 | |
request reference counter
Diffstat (limited to 'src/http/ngx_http_request_body.c')
| -rw-r--r-- | src/http/ngx_http_request_body.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index 9d47300f5..775bb2642 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -37,6 +37,8 @@ ngx_http_read_client_request_body(ngx_http_request_t *r, ngx_http_request_body_t *rb; ngx_http_core_loc_conf_t *clcf; + r->main->count++; + if (r->request_body || r->discard_body) { post_handler(r); return NGX_OK; |
