do not count connection for subrequest

This commit is contained in:
Igor Sysoev 2007-01-09 16:26:53 +00:00
parent 667a79b5f3
commit a3ec505730

View File

@ -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;
}