Whoops, forgot the handshake

This commit is contained in:
Gregor Reitzenstein 2020-11-20 15:54:53 +01:00
parent cbb6242f89
commit 2fbb1bb4b6

View File

@ -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<()> { pub async fn handle_connection(log: Logger, mut stream: TcpStream, db: Databases) -> Result<()> {
//handshake(&log, &mut stream).await?; handshake(&log, &mut stream).await?;
info!(log, "New connection from on {:?}", stream); info!(log, "New connection from on {:?}", stream);
let session = Arc::new(Session::new(log)); let session = Arc::new(Session::new(log));