MEDIUM: config: report it when tcp-request rules are misplaced
authorWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2014 13:39:51 +0000 (15:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2014 13:43:24 +0000 (15:43 +0200)
commit3986b9c14037f446f5f5bec6207a39e1bd753fae
tree78bfa5c15a429f8f89192e173437ba423126cba8
parenteb791e03b5c5abfddb24a439fa6434788db026b7
MEDIUM: config: report it when tcp-request rules are misplaced

A config where a tcp-request rule appears after an http-request rule
might seem valid but it is not. So let's report a warning about this
since this case is hard to detect by the naked eye.
include/common/cfgparse.h
src/cfgparse.c
src/proto_tcp.c