commit | 39959a75e91e4b702c5bcc31eaad81d40b9f61ac | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 29 13:21:37 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 29 13:32:29 2020 +0200 |
tree | 96cf13a544a958729e6d48c108a69160a28b9273 | |
parent | 7d765dbe9ae46d3ce1dc1ae1999c733f6a6e7085 [diff] |
MINOR: checks: Keep the Host header and the request uri synchronized Because in HTTP, the host header and the request authority, if any, must be identical, we keep both synchornized. It means the right flags are set on the HTX statrt-line calling http_update_host(). There is no header when it happens, but it is not an issue. Then, if a Host header is inserted, http_update_authority() is called. Note that for now, the host header is not automatically added when required.