From 7147ba56e26aa816440c3133e99e213342f80d2a Mon Sep 17 00:00:00 2001 From: benedettadavico Date: Wed, 24 Sep 2025 14:40:53 +0200 Subject: [PATCH] adding log --- .../websocket/connection_handler/fresh.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs b/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs index b7fe12fc3a..78a1598216 100644 --- a/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs +++ b/gateway/src/node/client_handling/websocket/connection_handler/fresh.rs @@ -922,12 +922,14 @@ impl FreshHandler { 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 {