diff --git a/src/connection.rs b/src/connection.rs index 78575b1..1974e1b 100644 --- a/src/connection.rs +++ b/src/connection.rs @@ -57,8 +57,8 @@ async fn handshake(log: &Logger, stream: &mut TcpStream) -> Result<()> { } } -pub async fn handle_connection(log: Logger, stream: TcpStream, db: Databases) -> Result<()> { - //handshake(&log, &mut stream).await?; +pub async fn handle_connection(log: Logger, mut stream: TcpStream, db: Databases) -> Result<()> { + handshake(&log, &mut stream).await?; info!(log, "New connection from on {:?}", stream); let session = Arc::new(Session::new(log));