]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: stconn: Move data from <kip> to <kop> during zero-copy forwarding
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 6 Jan 2026 14:36:23 +0000 (15:36 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 6 Jan 2026 14:41:50 +0000 (15:41 +0100)
commit83457b9e384132e6126dd988966203d5c578a1fe
tree952f491b71a3ed3d8a534e6b3d9b26fd1c2f6090
parent97490a7789f39d704193e2146131cf5574a755ff
BUG/MEDIUM: stconn: Move data from <kip> to <kop> during zero-copy forwarding

The <kip> of producer was not forwarded to <kop> of consumer when zero-copy
data forwarding was tried. Because of the issue, the chunking of emitted H1
messages could be invalid.

To fix the bug, sc_ep_fwd_kip() must be called at this stage.

This fix is related to the previous one (529a8dbfb "BUG/MEDIUM: mux-h1: Take
care to update <kop> value during zero-copy forwarding"). Both are required
to fully fix the issue #3230.

This patch must be backported to 3.3.
src/stconn.c