From 13a5a585a5739b48c81b3cc067240c49757b6c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Sat, 28 Oct 2023 17:00:18 +0200 Subject: [PATCH] chore: Cleanup --- src/tunnel/io.rs | 1 - src/tunnel/server.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/tunnel/io.rs b/src/tunnel/io.rs index 9612dfc..8259f52 100644 --- a/src/tunnel/io.rs +++ b/src/tunnel/io.rs @@ -63,7 +63,6 @@ pub(super) async fn propagate_read( if buffer.capacity() == read_len { buffer.clear(); - info!("capa: {} read:{}", buffer.capacity(), read_len); buffer.resize(buffer.capacity() * 2, 0); } } diff --git a/src/tunnel/server.rs b/src/tunnel/server.rs index 5324d29..79a92e3 100644 --- a/src/tunnel/server.rs +++ b/src/tunnel/server.rs @@ -187,7 +187,6 @@ async fn server_upgrade( Ok(response) } -#[instrument(name="tunnel", level="info", skip_all, fields(id=tracing::field::Empty, remote=tracing::field::Empty, peer=tracing::field::Empty, forwarded_for=tracing::field::Empty))] pub async fn run_server(server_config: Arc) -> anyhow::Result<()> { info!( "Starting wstunnel server listening on {}",