MEDIUM: protocol: do not call proto->bind() anymore from bind_listener()
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Sep 2020 16:40:02 +0000 (18:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commitad33acf83866cfdf6fb4db330a3c8abc85050cb5
treeb58b5e23f76a8f165b3ab285aa15984b7262682e
parentfc974887ceefd6716b6de5b089e97f312ab90a87
MEDIUM: protocol: do not call proto->bind() anymore from bind_listener()

All protocol's listeners now only take care of themselves and not of
the receiver anymore since that's already being done in proto_bind_all().
Now it finally becomes obvious that UDP doesn't need a listener, as the
only thing it does is to set the listener's state to LI_LISTEN!
src/proto_sockpair.c
src/proto_tcp.c
src/proto_udp.c
src/proto_uxst.c