comparison src/http/modules/ngx_http_limit_zone_module.c @ 1002:cdde2d4ea5d8

fix connection counter in subrequests
author Igor Sysoev <igor@sysoev.ru>
date Tue, 09 Jan 2007 20:58:41 +0000
parents 778e7d9a92d6
children 19118c44303f
comparison
equal deleted inserted replaced
1001:778e7d9a92d6 1002:cdde2d4ea5d8
129 129
130 if (vv == NULL || vv->not_found) { 130 if (vv == NULL || vv->not_found) {
131 return NGX_DECLINED; 131 return NGX_DECLINED;
132 } 132 }
133 133
134 r->limit_zone_set = 1; 134 r->main->limit_zone_set = 1;
135 135
136 len = vv->len; 136 len = vv->len;
137 137
138 hash = ngx_crc32_short(vv->data, len); 138 hash = ngx_crc32_short(vv->data, len);
139 139