]> git.kaiwu.me - nginx.git/commit
Disabled duplicate "Host" headers (ticket #1724).
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 20 Feb 2020 13:51:07 +0000 (16:51 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 20 Feb 2020 13:51:07 +0000 (16:51 +0300)
commit37984f0be1a5d608015517a64927d498888fb7ca
tree74d390c09049f0233b5bbdbfd4de5391af617579
parentb4d6b70d7f2e8207df02ab354da907475dcab8a5
Disabled duplicate "Host" headers (ticket #1724).

Duplicate "Host" headers were allowed in nginx 0.7.0 (revision b9de93d804ea)
as a workaround for some broken Motorola phones which used to generate
requests with two "Host" headers[1].  It is believed that this workaround
is no longer relevant.

[1] http://mailman.nginx.org/pipermail/nginx-ru/2008-May/017845.html
src/http/ngx_http_request.c