diff --git a/util/src/network/host.rs b/util/src/network/host.rs index 454e8e802..7366e129b 100644 --- a/util/src/network/host.rs +++ b/util/src/network/host.rs @@ -471,6 +471,10 @@ impl Host where Message: Send + Sync + Clone { node.last_attempted = Some(::time::now()); node.endpoint.address } + else { + debug!("Connection to expired node aborted"); + return; + } }; match TcpStream::connect(&address) { Ok(socket) => socket, @@ -647,7 +651,7 @@ impl Host where Message: Send + Sync + Clone { let mut session = match Session::new(h, &self.info.read().unwrap()) { Ok(s) => s, Err(e) => { - warn!("Session creation error: {:?}", e); + debug!("Session creation error: {:?}", e); return; } };