]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: log-format/conf: take into account the parse_logformat_string() return code
authorThierry FOURNIER / OZON.IO <thierry.fournier@ozon.io>
Tue, 22 Nov 2016 22:50:02 +0000 (23:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 17:54:26 +0000 (18:54 +0100)
commit59fd51155595d6e3c37db8e4ee4bc5b2569a821d
treea3d2ee36f97be3174418e739f2ed0aa1786a09b0
parenta2c38d790487bd372ba9771f4477fe95655d3b99
MEDIUM: log-format/conf: take into account the parse_logformat_string() return code

This patch takes into account the return code of the parse_logformat_string()
function. Now the configuration parser will fail if the log_format is not
strict.
src/cfgparse.c
src/proto_http.c