]> git.kaiwu.me - nginx.git/commit
Added support for "429 Too Many Requests" response (RFC6585).
authorPiotr Sikora <piotrsikora@google.com>
Fri, 24 Mar 2017 09:48:03 +0000 (02:48 -0700)
committerPiotr Sikora <piotrsikora@google.com>
Fri, 24 Mar 2017 09:48:03 +0000 (02:48 -0700)
commitc3ce606652aeac465895ab8eb8c6fc195d7db16b
treefc2b0a8afb19b4834c26347ba247bf7d3de15ccf
parent9ac9fe2f3ec82455aa561027e91d380d2db0f3af
Added support for "429 Too Many Requests" response (RFC6585).

This change adds reason phrase in status line and pretty response body
when "429" status code is used in "return", "limit_conn_status" and/or
"limit_req_status" directives.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
src/http/ngx_http_header_filter_module.c
src/http/ngx_http_request.h
src/http/ngx_http_special_response.c