]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: server: report correct error message for invalid port on "socks4"
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Sep 2020 09:25:54 +0000 (11:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Sep 2020 10:00:29 +0000 (12:00 +0200)
commit9743f709d03c036b7a6da2fb260d0e77f9e04a3d
treefc73eb54a58c47f3c9976d25c01c8da4bbcc405b
parente1c0e6921baef38a62d90e43a30cda007aad5c4c
BUG/MINOR: server: report correct error message for invalid port on "socks4"

The socks4 keyword parser was a bit too much copy-pasted, it only checks
for a null port and reports "invalid range". Let's properly check for the
1-65535 range and report the correct error.

It may be backported everywhere "socks4" is present (2.0).
src/server.c