]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ring: maxlen warning reported as alert
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 26 Jun 2023 12:22:12 +0000 (14:22 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 10 Jul 2023 16:28:08 +0000 (18:28 +0200)
commitc103379847d199752ff0206aabb34cc7c0455c4c
treee881d6a8b7036d1d8fc8906cab301ac0560df5e6
parent30ff33bd9b7527fe7434b349ada80e0e3cbab5a0
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
src/sink.c