]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] config: tcp-request content only accepts "if" or "unless"
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Jul 2009 19:17:05 +0000 (21:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Jul 2009 19:17:05 +0000 (21:17 +0200)
commit606ad73e73600275aae944f00bda4af9976c0be8
treea74b79307c3606e25dfa5ece13ccc3b703d5662d
parent7154365cc60b124b543db4e98faedc75c0f3a2cb
[BUG] config: tcp-request content only accepts "if" or "unless"

As reported by Maik Broemme, if something different from "if" or
"unless" was specified after "tcp-request content accept", the
condition would silently remain void. The parser must obviously
complain since this typically corresponds to a forgotten "if".
src/proto_tcp.c