From 85f90bc8ff2ecd5e23f71d29a3fb0cad463b0448 Mon Sep 17 00:00:00 2001 From: rezvan niazi <93466621+rezvanniazi@users.noreply.github.com> Date: Tue, 1 Oct 2024 22:56:49 +0330 Subject: [PATCH] Update raw.ts it rewrites the readyTimeout param and doesn't timeout when couldn't create connection --- src/transport/protocols/raw.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/transport/protocols/raw.ts b/src/transport/protocols/raw.ts index f3b74910..d8b36789 100644 --- a/src/transport/protocols/raw.ts +++ b/src/transport/protocols/raw.ts @@ -37,7 +37,6 @@ export class ProtocolRAW extends EventEmitter implements TeamSpeakQuery.QueryPro * Called after the Socket has been established */ private handleConnect() { - this.socket.setTimeout(0) this.emit("connect") } @@ -78,4 +77,4 @@ export class ProtocolRAW extends EventEmitter implements TeamSpeakQuery.QueryPro return this.socket.destroy() } -} \ No newline at end of file +}