chore: Cleanup
This commit is contained in:
parent
2499d993e2
commit
13a5a585a5
2 changed files with 0 additions and 2 deletions
|
@ -63,7 +63,6 @@ pub(super) async fn propagate_read(
|
||||||
|
|
||||||
if buffer.capacity() == read_len {
|
if buffer.capacity() == read_len {
|
||||||
buffer.clear();
|
buffer.clear();
|
||||||
info!("capa: {} read:{}", buffer.capacity(), read_len);
|
|
||||||
buffer.resize(buffer.capacity() * 2, 0);
|
buffer.resize(buffer.capacity() * 2, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -187,7 +187,6 @@ async fn server_upgrade(
|
||||||
Ok(response)
|
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<()> {
|
pub async fn run_server(server_config: Arc<WsServerConfig>) -> anyhow::Result<()> {
|
||||||
info!(
|
info!(
|
||||||
"Starting wstunnel server listening on {}",
|
"Starting wstunnel server listening on {}",
|
||||||
|
|
Loading…
Reference in a new issue