commit | 5e1779abbf175c26343a3ffb67c634d802d959f0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Sep 16 16:28:08 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 16 22:08:08 2020 +0200 |
tree | 85709f8ab48e8d873a302798cd66681d820527ce | |
parent | 26ff5dabc0ce62a8383d28ae53ff9880d4364999 [diff] |
MEDIUM: config: make str2listener() not accept datagram sockets anymore str2listener() was temporarily hacked to support datagram sockets for the log-forward listeners. This has has an undesirable side effect that "bind udp@1.2.3.4:5555" was silently accepted as TCP for a bind line. We don't need this hack anymore since the only user (log-forward) now relies on str2receiver(). Now such an address will properly be rejected.