This commit is contained in:
Jon Häggblad
2023-01-16 10:40:07 +01:00
parent dae7568b6f
commit e924a4e869
2 changed files with 3 additions and 3 deletions
@@ -95,7 +95,7 @@ pub(crate) async fn handle_connection<R, S, St>(
_ => (),
}
trace!("Managed to perform websocket handshake!");
log::debug!("Managed to perform websocket handshake!");
match shutdown
.run_future(handle.perform_initial_authentication())
@@ -112,5 +112,5 @@ pub(crate) async fn handle_connection<R, S, St>(
Some(Some(auth_handle)) => auth_handle.listen_for_requests(shutdown).await,
}
trace!("The handler is done!");
log::debug!("The handler is done!");
}
@@ -70,7 +70,7 @@ impl Listener {
connection = tcp_listener.accept() => {
match connection {
Ok((socket, remote_addr)) => {
trace!("received a socket connection from {remote_addr}");
debug!("received a socket connection from {remote_addr}");
// TODO: I think we *REALLY* need a mechanism for having a maximum number of connected
// clients or spawned tokio tasks -> perhaps a worker system?
let handle = FreshHandler::new(