1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-08-21 02:15:38 +02:00

normalize logs capital letter (#463)

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
Iskandarov Lev
2022-07-22 22:53:06 +03:00
committed by GitHub
parent 283974f3e6
commit 126ed4c2e3
13 changed files with 39 additions and 38 deletions

View File

@@ -74,16 +74,16 @@ where
let connector = self.connector.clone();
Box::pin(async move {
trace!("SSL Handshake start for: {:?}", stream.hostname());
trace!("TLS handshake start for: {:?}", stream.hostname());
connector
.connect(stream.hostname(), io)
.await
.map(|res| {
trace!("SSL Handshake success: {:?}", stream.hostname());
trace!("TLS handshake success: {:?}", stream.hostname());
stream.replace_io(res).1
})
.map_err(|e| {
trace!("SSL Handshake error: {:?}", e);
trace!("TLS handshake error: {:?}", e);
io::Error::new(io::ErrorKind::Other, format!("{}", e))
})
})