diff --git a/src/mux_quic.c b/src/mux_quic.c index 24a527918..ed1d6a360 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -682,7 +682,7 @@ struct stconn *qc_attach_sc(struct qcs *qcs, struct buffer *buf, char fin) if (fin) { TRACE_STATE("report end-of-input", QMUX_EV_STRM_RECV, qcc->conn, qcs); - se_fl_set(qcs->sd, SE_FL_EOI); + se_fl_set(qcs->sd, SE_FL_EOI|SE_FL_EOS); } return qcs->sd->sc; @@ -2726,7 +2726,7 @@ static size_t qc_recv_buf(struct stconn *sc, struct buffer *buf, /* Set end-of-input when full message properly received. */ if (fin) { TRACE_STATE("report end-of-input", QMUX_EV_STRM_RECV, qcc->conn, qcs); - se_fl_set(qcs->sd, SE_FL_EOI); + se_fl_set(qcs->sd, SE_FL_EOI|SE_FL_EOS); /* If request EOM is reported to the upper layer, it means the * QCS now expects data from the opposite side.