]> 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:19:04 +0000 (21:19 +0200)
commit7cf930b2ddcfb0a79d1c84fd85cdf3d0dbbf726c
tree92d2eb93a134d1d31ae5fa51faa0e21257b2e5db
parent53c802f682d6634663badd0999f932c361ee66f6
[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".
(cherry picked from commit 606ad73e73600275aae944f00bda4af9976c0be8)
src/proto_tcp.c