]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] add support for SO_REUSEPORT on Linux
authorWilly Tarreau <w@1wt.eu>
Mon, 13 Nov 2006 00:22:38 +0000 (01:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 Nov 2006 00:22:38 +0000 (01:22 +0100)
commit58b2f836851b78029ac5a7803ee8531709cec888
tree77c32bd6806611415d9301b843e562dc9dee1247
parent77074d548b1149c2727a0a080f8356c2a08c1991
[MEDIUM] add support for SO_REUSEPORT on Linux

SO_REUSEPORT does not exist on Linux but the checks are available in
the code. With a little patch, it's possible to implement the feature,
but the value of SO_REUSEPORT will still have to be known from userland.
This patch adds a workaround to this problem by figuring out the value
for the one used by SO_REUSEADDR.
include/common/compat.h