diff src/http/ngx_http_request_body.c @ 3049:67254117b774

request reference counter
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Aug 2009 16:04:05 +0000
parents 26d9d4a41e91
children 98f03cd8d6cc
line wrap: on
line diff
--- 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_ht
     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;