mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
CLEANUP: quic: Remove a useless test about discarded pktns (qc_handle_crypto_frm())
There is no need to check that the packet number space associated to the encryption level to handle the CRYPTO frames is available when entering qc_handle_crypto_frm(). This has already been done by the caller: qc_treat_rx_pkts().
This commit is contained in:
parent
f1bfbf24cd
commit
75ae0f7bbc
@ -2936,11 +2936,6 @@ static int qc_handle_crypto_frm(struct quic_conn *qc,
|
||||
struct ncbuf *ncbuf = &qel->cstream->rx.ncbuf;
|
||||
|
||||
TRACE_ENTER(QUIC_EV_CONN_PRSHPKT, qc);
|
||||
if (unlikely(qel->tls_ctx.flags & QUIC_FL_TLS_SECRETS_DCD)) {
|
||||
TRACE_PROTO("CRYPTO data discarded",
|
||||
QUIC_EV_CONN_RXPKT, qc, pkt, &cfdebug);
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (unlikely(crypto_frm->offset < cstream->rx.offset)) {
|
||||
size_t diff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user