]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: fix option httplog validation with TCP frontends
authorWilly Tarreau <w@1wt.eu>
Thu, 31 May 2012 17:30:26 +0000 (19:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 May 2012 17:30:26 +0000 (19:30 +0200)
commit196729eff89e6627b784236f2496c4528da80c16
tree224c717878ab4b1f46b483e55b105ecdf2e0007a
parent743a2d3e14a1fade71b34121f2f599ebfaee8109
BUG/MINOR: fix option httplog validation with TCP frontends

Option httplog needs to be checked only once the proxy has been validated,
so that its final mode (tcp/http) can be used. Also we need to check for
httplog before checking the log format, so that we can report a warning
about this specific option and not about the format it implies.
include/types/proxy.h
src/cfgparse.c
src/haproxy.c
src/proxy.c