wip
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user