Main Thread Panic when swarmed with clients (#158)

* Main Thread Panic when swarmed with clients

* fix

* fix

* 1024

* fix

* remove test

* Update src/client.rs

* Update src/main.rs

* Update src/client.rs

* Update src/main.rs

Co-authored-by: Lev Kokotov <levkk@users.noreply.github.com>
This commit is contained in:
Mostafa Abdelraouf
2022-09-05 03:21:06 -05:00
committed by GitHub
parent 417358c35d
commit 976b406468
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ pub async fn client_entrypoint(
mut stream: TcpStream,
client_server_map: ClientServerMap,
shutdown: Receiver<()>,
drain: Sender<i8>,
drain: Sender<i32>,
admin_only: bool,
) -> Result<(), Error> {
// Figure out if the client wants TLS or not.