mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-24 12:20:59 +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)) {
|
if (b_data(buf)) {
|
||||||
char fin = qcs->flags & QC_SF_FIN_STREAM;
|
char fin = qcs->flags & QC_SF_FIN_STREAM;
|
||||||
ret = qcs_push_frame(qcs, buf, fin, qcs->tx.offset);
|
ret = qcs_push_frame(qcs, buf, fin, qcs->tx.offset);
|
||||||
if (ret < 0)
|
BUG_ON(ret < 0); /* TODO handle this properly */
|
||||||
ABORT_NOW();
|
|
||||||
|
|
||||||
if (ret > 0) {
|
if (ret > 0) {
|
||||||
qcs_notify_send(qcs);
|
qcs_notify_send(qcs);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user