From: Christopher Faulet Date: Tue, 13 May 2025 16:41:09 +0000 (+0200) Subject: MINOR: mux-spop: Don't set SPOP connection state to FRAME_H after ACK parsing X-Git-Tag: v3.2-dev16~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b0f7de4e34c7da1ec7ae82e8e8a298823e50d72;p=thirdparty%2Fhaproxy.git MINOR: mux-spop: Don't set SPOP connection state to FRAME_H after ACK parsing After the ACK frame was parsed, it is useless to set the SPOP connection state to SPOP_CS_FRAME_H state because this will be automatically handled by the demux function. If it is not an issue, but this will simplify changes for the next commit. --- diff --git a/src/mux_spop.c b/src/mux_spop.c index 87256ee50..d5149e6c1 100644 --- a/src/mux_spop.c +++ b/src/mux_spop.c @@ -1984,7 +1984,6 @@ static int spop_conn_handle_ack(struct spop_conn *spop_conn, struct spop_strm *s spop_strm->flags |= SPOP_SF_ACK_RCVD; TRACE_PROTO("SPOP AGENT ACK frame rcvd", SPOP_EV_RX_FRAME|SPOP_EV_RX_ACK, spop_conn->conn, spop_strm, 0, (size_t[]){sent}); - spop_conn->state = SPOP_CS_FRAME_H; TRACE_LEAVE(SPOP_EV_RX_FRAME|SPOP_EV_RX_ACK, spop_conn->conn, spop_strm); return 1;