aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-29 18:40:28 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-29 18:40:28 +0000
commit61b09e59d76954dd4cc0d98a074b44f8a2b690de (patch)
tree0aa4594c8611edfd42c7a39870079e5723cfb134 /src
parentcfb6888d87d1742f27a92a930d05b15c06813b50 (diff)
downloadnginx-61b09e59d76954dd4cc0d98a074b44f8a2b690de.tar.gz
nginx-61b09e59d76954dd4cc0d98a074b44f8a2b690de.zip
fix request counter for memcached, introduced in r3050
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_memcached_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_memcached_module.c b/src/http/modules/ngx_http_memcached_module.c
index dc7c76719..6cf58815b 100644
--- a/src/http/modules/ngx_http_memcached_module.c
+++ b/src/http/modules/ngx_http_memcached_module.c
@@ -211,6 +211,8 @@ ngx_http_memcached_handler(ngx_http_request_t *r)
u->input_filter = ngx_http_memcached_filter;
u->input_filter_ctx = ctx;
+ r->main->count++;
+
ngx_http_upstream_init(r);
return NGX_DONE;