]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-spop; Don't report a read error if there are pending data
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 14 May 2025 07:33:46 +0000 (09:33 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 14 May 2025 09:51:58 +0000 (11:51 +0200)
commit6e46f0bf934360186aa878d75f8bf81eaae0c141
tree69598066aedd5766c2705e0baae850e87195d6d4
parent16314bb93c2c2c47c648da880ab55bf2ac01d9d4
BUG/MEDIUM: mux-spop; Don't report a read error if there are pending data

When an read error is detected, no error must be reported on the SPOP
connection is there are still some data to parse. It is important to be sure
to process all data before reporting the error and be sure to not truncate
received frames. However, we must also take care to handle short read case
to not wait data that will never be received.

This patch must be backported to 3.1.
src/mux_spop.c