]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: make str2sa_range() optionally return the fd
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Sep 2020 12:01:16 +0000 (14:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:08 +0000 (22:08 +0200)
commita93e5c7fae9ec624ef9fa779c6b875238c60542a
tree4774fd67f66d0eef9d8441f498cd6482ff77d5f9
parent909c23b0860d47804f0f063daff82d33be48a80f
MINOR: tools: make str2sa_range() optionally return the fd

If a file descriptor was passed, we can optionally return it. This will
be useful for listening sockets which are both a pre-bound FD and a ready
socket.
include/haproxy/tools.h
src/cfgparse-listen.c
src/cfgparse.c
src/check.c
src/cli.c
src/hlua.c
src/log.c
src/server.c
src/tcpcheck.c
src/tools.c