BUG/MINOR: config: disable http-reuse on TCP proxies
authorWilly Tarreau <w@1wt.eu>
Sat, 28 Apr 2018 05:18:15 +0000 (07:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Apr 2018 05:18:15 +0000 (07:18 +0200)
commit46deab6e64bfda7211b7c3199ad01f136141c86f
treec321c13062db78707fa3bc5723e5dad45aa20546
parente2b10bf491972d89c8385c623d6945b5cf7cedf6
BUG/MINOR: config: disable http-reuse on TCP proxies

Louis Chanouha reported an inappropriate warning when http-reuse is
present in a defaults section while a TCP proxy accidently inherits
it and finds a conflict with other options like the use of the PROXY
protocol. To fix this patch removes the http-reuse option for TCP
proxies.

This fix needs to be backported to 1.8, 1.7 and possibly 1.6.
src/cfgparse.c