chore: fix comment

This commit is contained in:
2022-06-11 16:34:15 +08:00
parent 3c79836afc
commit fdb09cb94f

View File

@@ -660,7 +660,7 @@ async fn transfer<I, O>(inbound: I, outbound: O) -> Result<()>
let (mut ri, mut wi) = tokio::io::split(inbound);
let (mut ro, mut wo) = tokio::io::split(outbound);
// IO copy timeout 12 HOURS
// IO copy timeout 6 HOURS
let tcp_io_copy_timeout = Duration::from_secs(6 * 3600);
let client_to_server = async move {
// let copy_result = time::timeout(tcp_io_copy_timeout, tokio::io::copy(&mut ri, &mut wo));