mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-28 00:20:56 +00:00
MINOR: tcpcheck_rule structure update
A new field is added into the tcpcheck_rule structure. This field will host a string used as a comment to describe the rule. Then this comment can be used in logs to report a more user friendly message on the step which failed during the tcpcheck ruleset.
This commit is contained in:
parent
cfbd1b8605
commit
aa12b47b06
@ -214,6 +214,7 @@ enum {
|
||||
struct tcpcheck_rule {
|
||||
struct list list; /* list linked to from the proxy */
|
||||
int action; /* action: send or expect */
|
||||
char *comment; /* comment to be used in the logs and on the stats socket */
|
||||
/* match type uses NON-NULL pointer from either string or expect_regex below */
|
||||
/* sent string is string */
|
||||
char *string; /* sent or expected string */
|
||||
|
Loading…
Reference in New Issue
Block a user