Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
7594:359b0ea2b067 | 7595:9606d93aa586 |
---|---|
510 /* | 510 /* |
511 * instead of using the request context data in | 511 * instead of using the request context data in |
512 * ngx_http_limit_conn_module and ngx_http_limit_req_module | 512 * ngx_http_limit_conn_module and ngx_http_limit_req_module |
513 * we use the bit fields in the request structure | 513 * we use the bit fields in the request structure |
514 */ | 514 */ |
515 unsigned limit_conn_set:1; | 515 unsigned limit_conn_status:2; |
516 unsigned limit_req_status:3; | 516 unsigned limit_req_status:3; |
517 | 517 |
518 unsigned limit_rate_set:1; | 518 unsigned limit_rate_set:1; |
519 unsigned limit_rate_after_set:1; | 519 unsigned limit_rate_after_set:1; |
520 | 520 |