]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: make sure never to mix dgram and stream protocols on a bind line
authorWilly Tarreau <w@1wt.eu>
Tue, 26 Apr 2022 12:40:30 +0000 (14:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 15:00:09 +0000 (17:00 +0200)
commit26f221bd557ebaac8906e7acad257b7b299ea759
tree767e3b25dea7561f536f573aae0768c8e01a888c
parent8d31ab04383eb02358b9eff4b74b5e195e1484a0
MINOR: config: make sure never to mix dgram and stream protocols on a bind line

It is absolutely not possible to use the same "bind" line to listen to
both quic and tcp for example, because no single transport layer would
fit both modes and we'll need the type to choose one then to choose a
mux. Let's make sure this does not happen. This may be relaxed in the
future if we manage to instantiate transport layers on the fly, but the
SSL vs quic part might be tricky to handle.
src/cfgparse.c