aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2019-11-18 17:48:32 +0300
committerRoman Arutyunyan <arut@nginx.com>2019-11-18 17:48:32 +0300
commit3a55d60d2d22788cd35cdd3f207d01d55984c1cf (patch)
tree51917b6e69c9d265e20799c5c4d0134f95f96538 /src/http/ngx_http_request.h
parentb48c8718bf9b135368c8c9eb969db5dce6e0ed35 (diff)
downloadnginx-3a55d60d2d22788cd35cdd3f207d01d55984c1cf.tar.gz
nginx-3a55d60d2d22788cd35cdd3f207d01d55984c1cf.zip
Limit conn: $limit_conn_status variable.
The variable takes one of the values: PASSED, REJECTED or REJECTED_DRY_RUN.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index 1aa9cd73e..70c2d424d 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -512,7 +512,7 @@ struct ngx_http_request_s {
* ngx_http_limit_conn_module and ngx_http_limit_req_module
* we use the bit fields in the request structure
*/
- unsigned limit_conn_set:1;
+ unsigned limit_conn_status:2;
unsigned limit_req_status:3;
unsigned limit_rate_set:1;