]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: include comment in tcpcheck error log
authorBaptiste Assmann <bedis9@gmail.com>
Fri, 1 May 2015 06:03:04 +0000 (08:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 12 May 2015 09:04:39 +0000 (11:04 +0200)
commit22b09d2393023cdf882e4d7e3964b472cfd58886
treed79f8e3d8196479cee043da7ee33d4d797c26194
parentaa12b47b060ccc3e54fed9d5dfd868cac8c85dfc
MINOR: include comment in tcpcheck error log

tcpcheck error messages include the step id where the error occurs.
In some cases, this is not enough. Now, HAProxy also use the comment
field of the latest tcpcheck rule which has been run.
This commit allows HAProxy to parse a new directive in the tcpcheck
ruleset: 'comment'.
It is used to setup comments on the current tcpcheck rules.
include/types/checks.h
src/cfgparse.c
src/checks.c