We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea03c87 commit 9af53daCopy full SHA for 9af53da
src/forward_traffic.rs
@@ -70,6 +70,7 @@ pub async fn process_tcp2udp(
70
.await
71
.context("Timeout while reading from TCP")?
72
.context("Failed reading from TCP")?;
73
+ log::info!("TCP2UDP read {} bytes from TCP socket", tcp_read_len);
74
if tcp_read_len == 0 {
75
break;
76
}
@@ -145,6 +146,7 @@ pub async fn process_udp2tcp(
145
146
.recv(&mut buffer[HEADER_LEN..])
147
148
.context("Failed reading from UDP")?;
149
+ log::info!("UDP2TCP read {} bytes from UDP socket", udp_read_len);
150
151
// Set the "header" to the length of the datagram.
152
let datagram_len =
0 commit comments