nginx/src
Maxim Dounin d2c0b9a6c7 Removed incorrect optimization of HEAD requests.
The stub status module and ngx_http_send_response() (used by the empty gif
module and the "return" directive) incorrectly assumed that responding
to HEAD requests always results in r->header_only being set.  This is not
true, and results in incorrect behaviour, for example, in the following
configuration:

   location / {
       image_filter size;
       return 200 test;
   }

Fix is to remove this incorrect micro-optimization from both stub status
module and ngx_http_send_response().

Reported by Chris Newton.
2021-01-19 20:21:12 +03:00
..
core Version bump. 2021-01-11 22:06:27 +03:00
event SSL: fixed SSL shutdown on lingering close. 2020-12-08 01:43:36 +03:00
http Removed incorrect optimization of HEAD requests. 2021-01-19 20:21:12 +03:00
mail SSL: ssl_conf_command directive. 2020-10-22 18:00:22 +03:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Cache: introduced min_free cache clearing. 2020-06-22 18:03:00 +03:00
stream Upstream: excluded down servers from the next_upstream tries. 2020-11-27 00:01:20 +03:00