]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: add several PA_O_* flags in str2sa_range() callers
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Sep 2020 13:53:16 +0000 (15:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:08 +0000 (22:08 +0200)
commit328199348b4b968c988065f0bba4e07b66ed74d2
treebe659e6d3d1f2223e4a8d96d253c046b8e3f67b2
parent8b0fa8f0ab79188bd1f9ea4f5dc1347d0d72b4e9
MINOR: tools: add several PA_O_* flags in str2sa_range() callers

These flags indicate whether the call is made to fill a bind or a server
line, or even just send/recv calls (like logs or dns). Some special cases
are made for outgoing FDs (e.g. pipes for logs) or socket FDs (e.g external
listeners), and there's a distinction between stream or dgram usage that's
expected to significantly help str2sa_range() proceed appropriately with
the input information. For now they are not used yet.
include/haproxy/tools-t.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