From 6eee80156ff4461064bc9116798db13bc7a82e2e Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 7 Jan 2007 17:47:17 +0000 Subject: count connection once per request --- src/http/ngx_http_request.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/http/ngx_http_request.h') 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 -- cgit