comparison src/http/ngx_http_request.h @ 7592:776d1bebdca2

Limit req: $limit_req_status variable. The variable takes one of the values: PASSED, DELAYED, REJECTED, DELAYED_DRY_RUN or REJECTED_DRY_RUN.
author Roman Arutyunyan <arut@nginx.com>
date Wed, 06 Nov 2019 19:03:18 +0300
parents c19ca381b2e6
children e84fb4991d74
comparison
equal deleted inserted replaced
7591:89adf49fe76a 7592:776d1bebdca2
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 single bits in the request structure 513 * we use the single bits in the request structure
514 */ 514 */
515 unsigned limit_conn_set:1; 515 unsigned limit_conn_set:1;
516 unsigned limit_req_set:1; 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
521 #if 0 521 #if 0