MINOR: quic: Implement qc_process_mux()

At this time, we only add calls to qc_resume_each_sending_qcs()
which handle the flow control and send lists.
This commit is contained in:
Frédéric Lécaille 2021-09-20 17:53:17 +02:00 committed by Amaury Denoyelle
parent d2ba0967b7
commit 1d40240f25

View File

@ -1272,9 +1272,16 @@ __maybe_unused
static int qc_process_mux(struct qcc *qcc)
{
TRACE_ENTER(QC_EV_QCC_WAKE, qcc->conn);
/* XXX TO DO XXX */
/* First we always process the flow control list because the streams
* waiting there were already elected for immediate emission but were
* blocked just on this.
*/
qc_resume_each_sending_qcs(qcc, &qcc->fctl_list);
qc_resume_each_sending_qcs(qcc, &qcc->send_list);
TRACE_LEAVE(QC_EV_QCC_WAKE, qcc->conn);
return 0;
return 1;
}