From: Christopher Faulet Date: Thu, 18 Sep 2025 06:54:31 +0000 (+0200) Subject: MINOR: stconn: Move data from kip to kop when data are sent to the consumer X-Git-Tag: v3.3-dev10~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c50e4f194b167766be0bab4f04449d4927847d;p=thirdparty%2Fhaproxy.git MINOR: stconn: Move data from kip to kop when data are sent to the consumer When data are sent to the consumer, the known output payload length is updated using the known input payload length value and this last one is then reset. se_fwd_kip() function is used for this purpose. --- diff --git a/src/stconn.c b/src/stconn.c index 99dc0256b..ed5f94e1d 100644 --- a/src/stconn.c +++ b/src/stconn.c @@ -1643,6 +1643,8 @@ int sc_conn_send(struct stconn *sc) if (!conn->mux) return 0; + se_fwd_kip(sc->sedesc); + if (sc_ep_have_ff_data(sc)) { unsigned int send_flag = 0;