Remove Handshake as C# can't handle it

This commit is contained in:
Gregor Reitzenstein 2020-11-30 07:24:07 +01:00
parent 7e9002aa94
commit 65841f5046

View File

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