]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: htx: check the HTX compatibility in dynamic use-backend rules
authorWilly Tarreau <w@1wt.eu>
Fri, 1 Feb 2019 14:06:09 +0000 (15:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Feb 2019 14:09:54 +0000 (15:09 +0100)
commit3e451842dcd5f2d6f063156e2fa4b78195f097e6
tree67fe2f18ce19e31435680929ec546a2c8d42e6e0
parent3c4e19f4297dd426d221859904d3a785bfcf330a
BUG/MEDIUM: htx: check the HTX compatibility in dynamic use-backend rules

I would have sworn it was done, probably we lost it during the refactoring.
If a frontend is in HTX and the backend not (and conersely), this is
normally detected at config parsing time unless the rule is dynamic. In
this case we must abort with an error 500. The logs will report "RR"
(resource issue while processing request) with the frontend and the
backend assigned, so that it's possible to figure what was attempted.

This must be backported to 1.9.
src/proxy.c