mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 23:44:41 +00: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
|
||||
* current datagram as prepared into <cbuf>.
|
||||
*/
|
||||
if (prv_pkt) {
|
||||
if (prv_pkt)
|
||||
qc_set_dg(cbuf, dglen, first_pkt);
|
||||
goto stop_build;
|
||||
}
|
||||
goto out;
|
||||
goto stop_build;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user