Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
3048:846d0e2fa483 | 3049:67254117b774 |
---|---|
34 ngx_buf_t *b; | 34 ngx_buf_t *b; |
35 ngx_chain_t *cl, **next; | 35 ngx_chain_t *cl, **next; |
36 ngx_temp_file_t *tf; | 36 ngx_temp_file_t *tf; |
37 ngx_http_request_body_t *rb; | 37 ngx_http_request_body_t *rb; |
38 ngx_http_core_loc_conf_t *clcf; | 38 ngx_http_core_loc_conf_t *clcf; |
39 | |
40 r->main->count++; | |
39 | 41 |
40 if (r->request_body || r->discard_body) { | 42 if (r->request_body || r->discard_body) { |
41 post_handler(r); | 43 post_handler(r); |
42 return NGX_OK; | 44 return NGX_OK; |
43 } | 45 } |