mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
use SYSTEM as log prefix
This commit is contained in:
@@ -221,7 +221,7 @@ impl TcpRelayLocal {
|
||||
}
|
||||
}
|
||||
|
||||
info!("CONNECT {} local -> remote is closing", addr_cloned);
|
||||
info!("SYSTEM Connect {} local -> remote is closing", addr_cloned);
|
||||
|
||||
let _ = encrypt_stream.get_ref().shutdown(Shutdown::Both);
|
||||
let _ = local_reader.get_ref().shutdown(Shutdown::Both);
|
||||
@@ -283,7 +283,7 @@ impl TcpRelayLocal {
|
||||
|
||||
let _ = local_writer.flush();
|
||||
|
||||
info!("CONNECT {} local <- remote is closing", addr);
|
||||
info!("SYSTEM Connect {} local <- remote is closing", addr);
|
||||
|
||||
let _ = decrypt_stream.get_mut().shutdown(Shutdown::Both);
|
||||
let _ = local_writer.shutdown(Shutdown::Both);
|
||||
|
||||
Reference in New Issue
Block a user