MINOR: config/mux-h2: Return ERR_ flags from init_h2() instead of a status
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Nov 2020 14:23:39 +0000 (15:23 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Nov 2020 15:36:23 +0000 (16:36 +0100)
commitd713bfb9de0195d27545cdfa8f959fe8eec12a4c
treedda66f59273254ab651d2e21d804e510f12f1273
parentbbda99b0236999d95d3f0bbe9c6f08bb9b071cf1
MINOR: config/mux-h2: Return ERR_ flags from init_h2() instead of a status

post-check function callbacks must return ERR_* flags. Thus, init_h2() is fixed
to return ERR_NONE on success or (ERR_ALERT|ERR_FATAL) on error.

This patch may be backported as far as 2.2.

(cherry picked from commit 5214099233d99b8288fb392dfe911bc9ea86e9af)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_h2.c