mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
MINOR: quic: Retry on qc_build_pkt() failures
This is done going to stop_build label when qc_build_pkt() fails because of a lack of buffer room (returns -1).
This commit is contained in:
parent
43a568575f
commit
05e30ee7d5
@ -2676,11 +2676,9 @@ static int qc_prep_pkts(struct quic_conn *qc, struct qring *qr,
|
|||||||
/* If there was already a correct packet present, set the
|
/* If there was already a correct packet present, set the
|
||||||
* current datagram as prepared into <cbuf>.
|
* current datagram as prepared into <cbuf>.
|
||||||
*/
|
*/
|
||||||
if (prv_pkt) {
|
if (prv_pkt)
|
||||||
qc_set_dg(cbuf, dglen, first_pkt);
|
qc_set_dg(cbuf, dglen, first_pkt);
|
||||||
goto stop_build;
|
goto stop_build;
|
||||||
}
|
|
||||||
goto out;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user