# HG changeset patch # User Igor Sysoev # Date 1168376321 0 # Node ID cdde2d4ea5d8b1fc3ef1c4744d42c95d3061f6ac # Parent 778e7d9a92d631eb341072616c674483dc1b83be fix connection counter in subrequests diff --git a/src/http/modules/ngx_http_limit_zone_module.c b/src/http/modules/ngx_http_limit_zone_module.c --- 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_req return NGX_DECLINED; } - r->limit_zone_set = 1; + r->main->limit_zone_set = 1; len = vv->len;