MINOR: mux-quic: check quic-conn return code on Tx
Inspect return code of qc_send_mux(). If quic-conn layer reports an error, this will interrupt the current emission process. This should be backported up to 2.6.
This commit is contained in:
parent
2ed840015f
commit
036cc5d880
|
@ -1399,7 +1399,8 @@ static int qc_send_frames(struct qcc *qcc, struct list *frms)
|
|||
|
||||
LIST_INIT(&qcc->send_retry_list);
|
||||
|
||||
qc_send_mux(qcc->conn->handle.qc, frms);
|
||||
if (!qc_send_mux(qcc->conn->handle.qc, frms))
|
||||
goto err;
|
||||
|
||||
/* If there is frames left at this stage, transport layer is blocked.
|
||||
* Subscribe on it to retry later.
|
||||
|
|
Loading…
Reference in New Issue