commit | 497ab4f519f429b87cc47c7df7ea8a5ce369d567 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Oct 11 09:01:44 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Oct 14 22:28:50 2019 +0200 |
tree | 155e9336af5da2a29456ddb41a015624d9778b7c | |
parent | 486498c630a0678446808107d02f94c48fc6722a [diff] |
MINOR: h1: Reject requests with different occurrences of the header host There is no reason for a client to send several headers host. It even may be considered as a bug. However, it is totally invalid to have different values for those. So now, in such case, an error is triggered during the request parsing. In addition, when several headers host are found with the same value, only the first instance is kept and others are skipped.