aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_limit_zone_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-01-09 16:26:53 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-01-09 16:26:53 +0000
commita3ec505730c0f27d2faad7b2982ba6e3bac4c9d9 (patch)
tree2e7252e9094356ae36f246ec8c17e6dd6e4818db /src/http/modules/ngx_http_limit_zone_module.c
parent667a79b5f3c4c2d554e35fe2bc5954d3f509335d (diff)
downloadnginx-a3ec505730c0f27d2faad7b2982ba6e3bac4c9d9.tar.gz
nginx-a3ec505730c0f27d2faad7b2982ba6e3bac4c9d9.zip
do not count connection for subrequest
Diffstat (limited to 'src/http/modules/ngx_http_limit_zone_module.c')
-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 07802581c..396cb7fd3 100644
--- a/src/http/modules/ngx_http_limit_zone_module.c
+++ b/src/http/modules/ngx_http_limit_zone_module.c
@@ -113,7 +113,7 @@ ngx_http_limit_zone_handler(ngx_http_request_t *r)
ngx_http_limit_zone_conf_t *lzcf;
ngx_http_limit_zone_cleanup_t *lzcln;
- if (r->limit_zone_set) {
+ if (r->main->limit_zone_set) {
return NGX_DECLINED;
}