diff src/http/ngx_http_request.h @ 7595:9606d93aa586

Limit conn: $limit_conn_status variable. The variable takes one of the values: PASSED, REJECTED or REJECTED_DRY_RUN.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 18 Nov 2019 17:48:32 +0300
parents e84fb4991d74
children 8989fbd2f89a 5d91389e0fd3
line wrap: on
line diff
--- a/src/http/ngx_http_request.h	Tue Nov 19 11:30:41 2019 +0300
+++ b/src/http/ngx_http_request.h	Mon Nov 18 17:48:32 2019 +0300
@@ -512,7 +512,7 @@
      * 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;