wip reusing of ids

This commit is contained in:
Luuk van Oijen
2023-11-22 13:04:56 +01:00
parent 3b0da388fb
commit cde157fdfe
2 changed files with 15 additions and 5 deletions

View File

@@ -188,7 +188,7 @@ impl Server {
match code as char {
'C' => {
let mut client = Client::new(socket);
let mut client = Client::new(socket).await;
match client.authenticate(&cfg_ref).await {
Ok(is_client) if is_client => {
let mut lock = ci_ref