BUG/MEDIUM: spop-conn: Report short read for partial frames payload
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 14 May 2025 07:20:08 +0000 (09:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 May 2025 15:01:44 +0000 (17:01 +0200)
commitbe20d5e319b7c22bec85a70777ed616934fc7aa9
tree76035f06ffcfe673886075034fcb0ac35db91b10
parent853b79d6f3b4459c021ff440540b84ce836a3a7c
BUG/MEDIUM: spop-conn: Report short read for partial frames payload

When a frame was not fully received, a short read must be reported on the
SPOP connection to help the demux to handle truncated frames. This was
performed for frames truncated on the header part but not on the payload
part. It is now properly detected.

This patch must be backported to 3.1.

(cherry picked from commit 71feb49a9f0ef1142970fca98ca8eebd516928a3)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/mux_spop.c