diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-01-07 17:47:17 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-01-07 17:47:17 +0000 |
commit | 6eee80156ff4461064bc9116798db13bc7a82e2e (patch) | |
tree | be596cf91d0a52fe6f4c9a450d40a21092a340e7 /src/http/ngx_http_request.h | |
parent | d5ca16cdd42b7625ba10e64dd45893b1683aaaef (diff) | |
download | nginx-6eee80156ff4461064bc9116798db13bc7a82e2e.tar.gz nginx-6eee80156ff4461064bc9116798db13bc7a82e2e.zip |
count connection once per request
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 25f07b109..5cdcb9498 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -430,6 +430,12 @@ struct ngx_http_request_s { #endif + /* + * instead of using the request context data in ngx_http_limit_zone_module + * we use the single bit in the request structure + */ + unsigned limit_zone_set:1; + #if 0 unsigned cachable:1; #endif |