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:26:10 +0000 (16:26 +0100)
commit5214099233d99b8288fb392dfe911bc9ea86e9af
tree3944e3348519e46c4fc05b21e21f05233baabfc4
parent83fefbcdff9f562d719fcb5da6b4a11e20e13c7c
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.
src/mux_h2.c