Skip to content

Commit

Permalink
chore: Refactor code in local/utils.rs for better readability and mai…
Browse files Browse the repository at this point in the history
…ntainability
  • Loading branch information
arloor committed Sep 4, 2024
1 parent 3c635af commit 9c77113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shadowsocks-service/src/local/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ where
}
}
#[cfg(feature = "https-tunnel")]
let result = tcprelay::utils::copy_bidirectional(shadow, plain).await;
let result = copy_bidirectional(shadow, plain).await;
#[cfg(not(feature = "https-tunnel"))]
let result = tcprelay::utils::copy_encrypted_bidirectional(svr_cfg.method(), shadow, plain).await;
match result {
Expand Down

0 comments on commit 9c77113

Please sign in to comment.