]> 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>
Mon, 9 Nov 2009 20:27:51 +0000 (21:27 +0100)
commit5f0bd6537f8b56b643ef485d7a3c96d996d9b01a
treed1f642e314e056d9e2987ff471e4a96962c23520
parent3b39c1446b9bd842324e87782a836948a07c25a2
[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.
src/proxy.c