MINOR: config: Add failifnotcap() to emit an alert on proxy capabilities
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Jan 2021 11:10:00 +0000 (12:10 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 26 Jan 2021 09:05:36 +0000 (10:05 +0100)
commit9e2f322ce5a0c8b7acfa5201c9a027a65bcab032
tree31bd0999c2b6eb5046b7eae249ae18726d99be81
parent33edd5101136f9e0a7fecb07e1fb7a32d5c1e9e8
MINOR: config: Add failifnotcap() to emit an alert on proxy capabilities

This function must be used to emit an alert if a proxy does not have at
least one of the requested capabilities. An additional message may be
appended to the alert.

(cherry picked from commit d4a83dd6b30a68605f13a447b398a15ab38f28d4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/cfgparse.h