]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: listener: always fill the source address for accepted socketpairs
authorWilly Tarreau <w@1wt.eu>
Sun, 27 Jan 2019 17:34:12 +0000 (18:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 27 Jan 2019 20:48:29 +0000 (21:48 +0100)
commit888d5678f7829e0685d0f692cdb159e655ac0e25
tree633054945ffde202a02e87b16323e5f271e19d5d
parent1f672a8162eda18c404c6784dd749b6e061e2e4d
BUG/MINOR: listener: always fill the source address for accepted socketpairs

The source address was not set but passed down the chain to the upper
layer's accept() calls. Let's initialize it like other UNIX sockets in
this case. At the moment it should not have any impact since socketpairs
are only usable for the master CLI.

This should be backported to 1.9.
src/listener.c