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>
Wed, 13 Jan 2021 16:45:34 +0000 (17:45 +0100)
commitd4a83dd6b30a68605f13a447b398a15ab38f28d4
treea736c09982fd5f33c1afd3949c988b5424f6f73b
parent4e36682d51f4e206c63d792a8cde3e669fb8a0d4
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.
include/haproxy/cfgparse.h