summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-01-09 20:58:41 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-01-09 20:58:41 +0000
commitfe9a066d69ded7c572a91ad7b2eb43c1a8245405 (patch)
treeeabe75d0973ff8e945c96a21228910bfbe3a0a25
parent36fefe3cfeebbfd6cc838b37d3d5eafd33a5bdb0 (diff)
downloadnginx-fe9a066d69ded7c572a91ad7b2eb43c1a8245405.tar.gz
nginx-fe9a066d69ded7c572a91ad7b2eb43c1a8245405.tar.bz2
fix connection counter in subrequests
-rw-r--r--src/http/modules/ngx_http_limit_zone_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_limit_zone_module.c b/src/http/modules/ngx_http_limit_zone_module.c
index caed09cb7..1ec99cc9b 100644
--- a/src/http/modules/ngx_http_limit_zone_module.c
+++ b/src/http/modules/ngx_http_limit_zone_module.c
@@ -131,7 +131,7 @@ ngx_http_limit_zone_handler(ngx_http_request_t *r)
return NGX_DECLINED;
}
- r->limit_zone_set = 1;
+ r->main->limit_zone_set = 1;
len = vv->len;