]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: check default proxy compatibility on "add backend"
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 6 Feb 2026 12:51:02 +0000 (13:51 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 6 Feb 2026 16:28:26 +0000 (17:28 +0100)
commit07195a1af442aa93979f2452e42ff0209fbca3e9
treeb24208f56e1e91353a918fd288c31f0d39ac9270
parenta603811aac719814d5b24ca84f60751f0f3040eb
MINOR: proxy: check default proxy compatibility on "add backend"

This commits completes "add backend" handler with some checks performed
on the specified default proxy instance. These are additional checks
outside of the already existing inheritance rules, specific to dynamic
backends.

For now, a default proxy is considered not compatible if it is not in
mode TCP/HTTP. Also, a default proxy is rejected if it references HTTP
errors. This limitation may be lifted in the future, when HTTP errors
are partiallay reworked.
doc/management.txt
src/proxy.c