diff src/http/ngx_http_request.h @ 984:dd128232e6ba

count connection once per request
author Igor Sysoev <igor@sysoev.ru>
date Sun, 07 Jan 2007 17:47:17 +0000
parents 78e70dae89f0
children bbde03037ef6
line wrap: on
line diff
--- 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