MINOR: bwlim: Remove useless test on CF_READ_ERROR to detect the last packet
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 26 Jan 2023 15:11:02 +0000 (16:11 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 Feb 2023 08:43:38 +0000 (09:43 +0100)
commitb3ef9c392e9487eca373366f265c2b86f4d3f30b
tree423d50d4642311f26048fb60445e62c134a00625
parent11fddb96554a5db2a1a7bfb48f49a03a66b396f3
MINOR: bwlim: Remove useless test on CF_READ_ERROR to detect the last packet

There is already a test on CF_EOI and CF_SHUTR. The last one is always set
when a read error is reported. Thus there is no reason to check
CF_READ_ERROR.
src/flt_bwlim.c