chore: Cleanup

This commit is contained in:
Σrebe - Romain GERARD 2023-10-28 17:00:18 +02:00
parent 2499d993e2
commit 13a5a585a5
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4
2 changed files with 0 additions and 2 deletions

View file

@ -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);
}
}

View file

@ -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<WsServerConfig>) -> anyhow::Result<()> {
info!(
"Starting wstunnel server listening on {}",