From: Ruben Beltran del Rio Date: Sun, 26 Jan 2025 19:56:33 +0000 (+0100) Subject: Remove unhelpful debug lines X-Git-Tag: 1.0.1 X-Git-Url: https://git.r.bdr.sh/rbdr/olden-mail/commitdiff_plain/14c2e8bcb8c84ae5861b82045c60e49625d27299?ds=inline;hp=1c13505151a1b58b77dc488bbb4288bddbc1cdad Remove unhelpful debug lines --- diff --git a/Cargo.lock b/Cargo.lock index 648d4b4..c2c20fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -252,7 +252,7 @@ dependencies = [ [[package]] name = "olden-mail" -version = "1.0.0" +version = "1.0.1" dependencies = [ "ctrlc", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 1205d33..da235e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "olden-mail" -version = "1.0.0" +version = "1.0.1" edition = "2021" license = "AGPL-3.0-or-later" description = "IMAP & SMTP proxy to connect vintage clients to modern e-mail." diff --git a/man/olden-mail.1 b/man/olden-mail.1 index e72a08e..30c6819 100644 --- a/man/olden-mail.1 +++ b/man/olden-mail.1 @@ -1,4 +1,4 @@ -.TH OLDEN-MAIL 1 "2025-01-25" "1.0.0" "Olden Mail Manual" +.TH OLDEN-MAIL 1 "2025-01-25" "1.0.1" "Olden Mail Manual" .SH NAME olden-mail \- IMAP & SMTP proxy to connect vintage clients to modern e-mail. .SH SYNOPSIS @@ -37,7 +37,7 @@ The TLS enabled remote port to which we will proxy the connection. Defaults to .B REMOTE_SMTP_HOST The remote host to which we will proxy the connection. Required. .SH VERSION -.BR 1.0.0 +.BR 1.0.1 .SH HOMEPAGE .I https://r.bdr.sh/olden-mail.html .SH AUTHORS diff --git a/src/proxy.rs b/src/proxy.rs index 15a2e7d..2551015 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -213,7 +213,6 @@ fn handle_client(client_stream: TcpStream, configuration: &Arc) { let mut buffer = [0u8; 8192]; let mut client_reader = client_stream; loop { - debug!(">"); let bytes_read = match client_reader.read(&mut buffer) { Ok(0) => break, Ok(n) => n, @@ -260,7 +259,6 @@ fn handle_client(client_stream: TcpStream, configuration: &Arc) { let mut buffer = [0u8; 8192]; let mut client_writer = client_stream_clone; loop { - debug!("<"); // Lock the TLS stream and read from the server let bytes_read = match tls_stream_clone.lock() { Ok(mut tls_guard) => match tls_guard.read(&mut buffer) {