commit | 0f41c384ea7de2a5b10d49423a21e79aaafe0536 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Tue Nov 02 15:22:10 2021 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Tue Nov 02 15:53:09 2021 +0100 |
tree | e4d0cfb6ead01330168faa4676799613429262fb | |
parent | 5592c7b455dc89584e1241f3952ca5e5c9fbf687 [diff] |
BUG/MINOR: httpclient: use a placeholder value for Host header A Host header must be present for http_update_host() to success. htx_add_header(htx, ist("Host"), IST_NULL) was used but this is not a good idea from a semantic point of view. It also tries to make a memcpy with a len of 0, which is unrequired. Use an ist("h") instead as a placeholder value. This patch fixes bug #1439.