BUG/MINOR: ring: maxlen warning reported as alert

When maxlen parameter exceeds sink size, a warning is generated and maxlen
is enforced to sink size. But the err_code is incorrectly set to ERR_ALERT

Indeed, being a "warning", ERR_WARN should be used here.

This may be backported as far as 2.2

(cherry picked from commit c103379847d199752ff0206aabb34cc7c0455c4c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 79504b982ccc9a4ad70de1e04e23aa85bdea80d4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 1b489443d45a1ac6a66750ae9ce8bbe220ca415e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 20167124ece457ed4828801714744b53b1d2ac4b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed