]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener: make sock_find_compatible_fd() check the socket type
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 19:44:42 +0000 (21:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commit4dfabfed134a79d67c9810387c0bd1a6ea04d344
treec3ddefdebc6a1f55e69bd3ab382100ecbd0f34ba
parentb743661f0495247528d74b618301f989ebec46b3
MINOR: listener: make sock_find_compatible_fd() check the socket type

sock_find_compatible_fd() can now access the protocol via the receiver
hence it can access its socket type and know whether the receiver has
dgram or stream sockets, so we don't need to hack around AF_CUST_UDP*
anymore there.
src/sock.c