From a3ec505730c0f27d2faad7b2982ba6e3bac4c9d9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 9 Jan 2007 16:26:53 +0000 Subject: [PATCH] do not count connection for subrequest --- src/http/modules/ngx_http_limit_zone_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }