]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: remove all checks for missing/invalid ports/ranges
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Sep 2020 09:52:23 +0000 (11:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:08 +0000 (22:08 +0200)
commit8b0fa8f0ab79188bd1f9ea4f5dc1347d0d72b4e9
tree43b9265aa3e8af9c1f2d3078982055d66a1da78e
parent7f96a8474c712b5b8dacd0ce7cf133a98ae39eb0
MEDIUM: config: remove all checks for missing/invalid ports/ranges

Now that str2sa_range() checks for appropriate port specification, we
don't need to implement adhoc test cases in every call place, if the
result is valid, the conditions are met otherwise the error message is
appropriately filled.
src/cfgparse-listen.c
src/cfgparse.c
src/check.c
src/hlua.c
src/log.c
src/server.c
src/tcpcheck.c