]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] config: disable 'option httplog' on TCP proxies
authorWilly Tarreau <w@1wt.eu>
Mon, 9 Nov 2009 20:27:51 +0000 (21:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 6 Dec 2009 12:24:11 +0000 (13:24 +0100)
commit1780416e33defbeddcd20c7107bb0b6e70f1b449
tree188d95f9a11f5142b2ae477356c0e9a1f1a1740d
parent7bb651ec1d0cc124781e93341462507d622f2168
[BUG] config: disable 'option httplog' on TCP proxies

Gabriel Sosa reported that logs were appearing with BADREQ when
'option httplog' was used with a TCP proxy (eg: inherited via a
default instance). This patch detects it and falls back to tcplog
after emitting a warning.
(cherry picked from commit 5f0bd6537f8b56b643ef485d7a3c96d996d9b01a)
src/proxy.c