]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: warn when some HTTP rules are used in a TCP proxy
authorWilly Tarreau <w@1wt.eu>
Fri, 10 Mar 2017 10:49:21 +0000 (11:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Mar 2017 10:49:21 +0000 (11:49 +0100)
commitde7dc88c517e22d3ae02ce8a8a23046ab2c62238
treea86f4b80a369c3d888882bea8dad721aee95f3ed
parentd1307cea8417b1f1e8be4d1484dd1b59b0eb219d
MINOR: config: warn when some HTTP rules are used in a TCP proxy

Surprizingly, http-request, http-response, block, redirect, and capture
rules did not cause a warning to be emitted when used in a TCP proxy, so
let's fix this.

This patch may be backported to older versions as it helps spotting
configuration issues.
src/cfgparse.c