]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener: move the network namespace to the struct settings
authorWilly Tarreau <w@1wt.eu>
Thu, 3 Sep 2020 05:27:34 +0000 (07:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 18:13:13 +0000 (20:13 +0200)
commitbe56c1038fe04df3ed3dca8c3dfb222efbd19cfe
tree21f88843cba7a27859dd32377732778175e139e1
parent7e307215e8fb6e3c1b56586db4ed37a8008f215a
MINOR: listener: move the network namespace to the struct settings

The netns is common to all listeners/receivers and is used to bind the
listening socket so it must be in the receiver settings and not in the
listener. This removes some yet another set of unnecessary loops.
include/haproxy/listener-t.h
src/cfgparse-tcp.c
src/cli.c
src/proto_tcp.c
src/proto_udp.c
src/session.c
src/sock.c
src/tcp_sample.c