commit | 9743f709d03c036b7a6da2fb260d0e77f9e04a3d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 15 11:25:54 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 15 12:00:29 2020 +0200 |
tree | fc73eb54a58c47f3c9976d25c01c8da4bbcc405b | |
parent | e1c0e6921baef38a62d90e43a30cda007aad5c4c [diff] |
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).