]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: fix host part in balance-uri-path-only.vtc
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Sep 2020 07:58:23 +0000 (09:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Sep 2020 08:52:27 +0000 (10:52 +0200)
commit2aa3dd2b4318eddf54e3958e7cd5751b0e25db74
tree1fe5638df00a16e7395bcbad609d128c10121889
parent20b0fed28cc0e5d890dc441ffc73b95ceb25c8d2
REGTEST: fix host part in balance-uri-path-only.vtc

We used to set it to ${h1_px_addr} but it randomly fails on certain
hosts (FreeBSD and OSX) where the address is surprisingly set to "::1"
while the Host field contains 127.0.0.1 (hence two different address
families). While this is likely a minor issue in vtest, we don't need
to depend on this and can easily hard-code 127.0.0.1 which is already
used in other tests.
reg-tests/balance/balance-uri-path-only.vtc