MEDIUM: tcp: make use of sock_inet_bind_receiver()
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Sep 2020 14:12:50 +0000 (16:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commitaf9a7f5bb024ae7720cfc9694afb0dfafdde1226
treeec3c6b88deb545637dde104d02ae97b65346c196
parentd69ce1ffbc3cb4397cf4c5e6572f65f25fd2d13b
MEDIUM: tcp: make use of sock_inet_bind_receiver()

This removes all the AF_INET-specific code from tcp_bind_listener()
and now simply relies on sock_inet_bind_listener() to do the same
job. The function was now roughly cut in half and its error path
significantly simplified.
src/proto_tcp.c