Mercurial > hg > nginx
comparison src/http/modules/ngx_http_limit_zone_module.c @ 997:5900ec20604a
do not count connection for subrequest
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 09 Jan 2007 16:26:53 +0000 |
parents | 1b9a4d92173f |
children | 778e7d9a92d6 |
comparison
equal
deleted
inserted
replaced
996:7fdcb5b9f063 | 997:5900ec20604a |
---|---|
111 ngx_http_limit_zone_ctx_t *ctx; | 111 ngx_http_limit_zone_ctx_t *ctx; |
112 ngx_http_limit_zone_node_t *lz; | 112 ngx_http_limit_zone_node_t *lz; |
113 ngx_http_limit_zone_conf_t *lzcf; | 113 ngx_http_limit_zone_conf_t *lzcf; |
114 ngx_http_limit_zone_cleanup_t *lzcln; | 114 ngx_http_limit_zone_cleanup_t *lzcln; |
115 | 115 |
116 if (r->limit_zone_set) { | 116 if (r->main->limit_zone_set) { |
117 return NGX_DECLINED; | 117 return NGX_DECLINED; |
118 } | 118 } |
119 | 119 |
120 lzcf = ngx_http_get_module_loc_conf(r, ngx_http_limit_zone_module); | 120 lzcf = ngx_http_get_module_loc_conf(r, ngx_http_limit_zone_module); |
121 | 121 |