Skip to content

Commit 6b0f7de

Browse files
committed
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.
1 parent 197eaaa commit 6b0f7de

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/mux_spop.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,6 @@ static int spop_conn_handle_ack(struct spop_conn *spop_conn, struct spop_strm *s
19841984

19851985
spop_strm->flags |= SPOP_SF_ACK_RCVD;
19861986
TRACE_PROTO("SPOP AGENT ACK frame rcvd", SPOP_EV_RX_FRAME|SPOP_EV_RX_ACK, spop_conn->conn, spop_strm, 0, (size_t[]){sent});
1987-
spop_conn->state = SPOP_CS_FRAME_H;
19881987
TRACE_LEAVE(SPOP_EV_RX_FRAME|SPOP_EV_RX_ACK, spop_conn->conn, spop_strm);
19891988
return 1;
19901989

0 commit comments

Comments
 (0)