mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-24 04:11:02 +01:00
CLEANUP: quic: complete ABORT_NOW with a TODO comment
Add a TODO comment to not forget to properly implement error returned by qcs_push_frame.
This commit is contained in:
parent
d8ac3f5dbf
commit
1455113e93
@ -418,8 +418,7 @@ static int qc_send(struct qcc *qcc)
|
||||
if (b_data(buf)) {
|
||||
char fin = qcs->flags & QC_SF_FIN_STREAM;
|
||||
ret = qcs_push_frame(qcs, buf, fin, qcs->tx.offset);
|
||||
if (ret < 0)
|
||||
ABORT_NOW();
|
||||
BUG_ON(ret < 0); /* TODO handle this properly */
|
||||
|
||||
if (ret > 0) {
|
||||
qcs_notify_send(qcs);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user