]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config/proxy: Warn if a TCP proxy without backend is upgradable to HTTP
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 31 Mar 2021 15:13:49 +0000 (17:13 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Apr 2021 11:24:34 +0000 (13:24 +0200)
commit5eef0189c76ac7e7a6e02c590cf7c348e3535fb2
tree57cc23eff66391422f53e3fac2a63a1fa529af46
parent3b6446f4d99dd0e046468889d691b19cbf7f15de
MINOR: config/proxy: Warn if a TCP proxy without backend is upgradable to HTTP

If a 'switch-mode http' tcp action is configured on a listener with no
backend, a warning is displayed to remember HTTP connections cannot be
routed to TCP servers. Indeed, backend connection is still established using
the proxy mode.
src/cfgparse.c