commit | fd6c2291bb7e498c2b49bfaa3032e64bbdd78efb | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Mar 25 18:20:15 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 27 09:39:37 2020 +0200 |
tree | 64d50733f936353cb33fcc3ae2d36ead3779316c | |
parent | 1d22d7ec0e6d7ec3832df53f0c0250052030787d [diff] |
MEDIUM: proxy/checks: Register a keyword to parse tcp-check rules The keyword 'tcp-check' is now parsed in a dedicated callback function. Thus the code to parse these rules is now located in checks.c. In addition, a deinit function have been added to release proxy tcp-check rules, on error or when HAProxy is stopped. This patch is based on Gaetan Rivet work. It uses a callback function registerd on the 'tcp-check' keyword instead, but the spirit is the same.