]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] cfgparse: only keep one of dispatch, transparent, http_proxy
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Mar 2011 16:30:54 +0000 (17:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Mar 2011 22:32:16 +0000 (23:32 +0100)
commitd6cc532ca1c27dc92edd7cfb626da8e3d1ec0106
tree9f43df6686983153ebc0e1bbc58eb62083f24ee9
parentf5ab69aad9baea1aba0acffc830fe99f59c5bdd0
[MINOR] cfgparse: only keep one of dispatch, transparent, http_proxy

Since all of them are defined as proxy options, it's better to ensure
that at most one of them is enabled at once. The priority has been set
according to what is already performed in the backend :

   1) dispatch
   2) http_proxy
   3) transparent
src/cfgparse.c