mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-19 20:27:01 +00:00
BUG/MINOR: quic: Unckecked encryption levels availability
This bug arrived with this commit: MEDIUM: quic: Dynamic allocations of QUIC TLS encryption levels It is possible that haproxy receives a late Initial packet after it has released its Initial or Handshake encryption levels. In this case it must not try to retransmit packets from such encryption levels to speed up the handshake completion. No need to backport.
This commit is contained in:
parent
f7dcceccc9
commit
e5a17b0bc0
@ -3328,7 +3328,7 @@ static int qc_parse_pkt_frms(struct quic_conn *qc, struct quic_rx_packet *pkt,
|
||||
/* Flag this packet number space as having received a packet. */
|
||||
qel->pktns->flags |= QUIC_FL_PKTNS_PKT_RECEIVED;
|
||||
|
||||
if (fast_retrans) {
|
||||
if (fast_retrans && qc->iel && qc->hel) {
|
||||
struct quic_enc_level *iqel = qc->iel;
|
||||
struct quic_enc_level *hqel = qc->hel;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user