fixing ci issues

This commit is contained in:
Godmode Galactus 2024-11-29 19:11:59 +01:00
parent 84d099d1ae
commit 350685df80
No known key found for this signature in database
GPG Key ID: A6B75566742EA987
2 changed files with 1 additions and 5 deletions

View File

@ -2,7 +2,6 @@ use std::{
net::SocketAddr,
sync::{atomic::AtomicBool, Arc},
time::{Duration, Instant},
u64,
};
use log::{debug, error, info, trace};

View File

@ -404,13 +404,10 @@ pub fn server_loop(
}
};
log::trace!("got packet {:?}", hdr);
let conn_id = if !cfg!(feature = "fuzzing") {
let conn_id = {
let conn_id = ring::hmac::sign(&conn_id_seed, &hdr.dcid);
let conn_id = &conn_id.as_ref()[..quiche::MAX_CONN_ID_LEN];
conn_id.to_vec().into()
} else {
// When fuzzing use an all zero connection ID.
[0; quiche::MAX_CONN_ID_LEN].to_vec().into()
};
// Lookup a connection based on the packet's connection ID. If there