aboutsummaryrefslogtreecommitdiff
path: root/src/proxy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/proxy.rs')
-rw-r--r--src/proxy.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/proxy.rs b/src/proxy.rs
index 5678db9..176d5f9 100644
--- a/src/proxy.rs
+++ b/src/proxy.rs
@@ -249,7 +249,9 @@ fn handle_client(client_stream: TcpStream, configuration: &Arc<Proxy>) {
.replace('\t', "\\t");
debug!(">>> {debug_original}");
- debug!("### {debug_final}");
+ if debug_original != debug_final {
+ debug!("### {debug_final}");
+ }
// Lock the TLS stream and write the data to server
match tls_stream_clone.lock() {