]> git.kaiwu.me - haproxy.git/commit
DOC: config: mention that url_ip and url_port fail when passed a name
authorWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 12:28:07 +0000 (14:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 14:11:24 +0000 (16:11 +0200)
commit0d157919df45b888a50dccb41ef23952a3734da0
tree310de58a21929025597b382446941faba2ae3d57
parent5247b063b69857df9c5f526827e9c21127f0fd20
DOC: config: mention that url_ip and url_port fail when passed a name

url_ip and url_port both rely on a call to url2sa() which tries to parse
digits in the authority part. This means that neither is usable with a
host name. For example www.example.org:443 will not return an IP address
nor even port 443 since the IP address parsing fails early. It's worth
being said since it's not obvious.
doc/configuration.txt