mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 06:47:56 +01:00
Whoops, forgot the handshake
This commit is contained in:
parent
cbb6242f89
commit
2fbb1bb4b6
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user