nginx/src
Maxim Dounin 6ba18bc35e Added default overwrite in error_page 494.
We used to have default error_page overwrite for 495, 496, and 497, so
a configuration like

    error_page 495 /error;

will result in error 400, much like without any error_page configured.

The 494 status code was introduced later (in 3848:de59ad6bf557, nginx 0.9.4),
and relevant changes to ngx_http_core_error_page() were missed, resulting
in inconsistent behaviour of "error_page 494" - with error_page configured
it results in 494 being returned instead of 400.

Reported by Frank Liu,
http://mailman.nginx.org/pipermail/nginx/2020-February/058957.html.
2020-02-28 17:21:18 +03:00
..
core Version bump. 2020-02-05 16:29:14 +03:00
event SSL: reworked posted next events again. 2019-12-27 19:43:01 +03:00
http Added default overwrite in error_page 494. 2020-02-28 17:21:18 +03:00
mail SSL: fixed ssl_verify_client error message. 2019-09-16 19:26:42 +03:00
misc Style: aligned ngx_null_command. 2017-07-12 11:34:04 +03:00
os Win32: silenced -Wcast-function-type GCC warning (ticket #1865). 2019-10-21 19:07:03 +03:00
stream Limit conn: added shared context. 2019-11-18 19:50:59 +03:00