adding log

This commit is contained in:
benedettadavico
2025-09-24 14:40:53 +02:00
parent 7bf5553fd1
commit 7147ba56e2
@@ -922,12 +922,14 @@ impl<R, S> FreshHandler<R, S> {
S: AsyncRead + AsyncWrite + Unpin + Send,
R: CryptoRng + RngCore + Send,
{
let shutdown = self.shutdown.clone();
let mut loop_iter: usize = 0;
loop {
if shutdown.is_cancelled() {
trace!("received cancellation before authentication");
return None;
}
loop_iter += 1;
debug!(
remote = %self.peer_address,
iteration = loop_iter,
"running loop"
);
let req = self.wait_for_initial_message().await;
let initial_request = match req {