adding log
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user