diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-27 22:46:36 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-01-27 22:46:36 +0100 |
| commit | 6aebf7f92c7a0bdce8e7c8e8049739d70065ec3b (patch) | |
| tree | caaa78ca71e25fe1f4b12d1bea3cefca39d42969 /src/proxy.rs | |
| parent | 92529ff337c51c653ab9efc47e1250e3f5dfb478 (diff) | |
Search for "/" as the delimiter
Diffstat (limited to 'src/proxy.rs')
| -rw-r--r-- | src/proxy.rs | 4 |
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() { |