Skip to content

Commit 85f90bc

Browse files
authored
Update raw.ts
it rewrites the readyTimeout param and doesn't timeout when couldn't create connection
1 parent cbdc861 commit 85f90bc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/transport/protocols/raw.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export class ProtocolRAW extends EventEmitter implements TeamSpeakQuery.QueryPro
3737
* Called after the Socket has been established
3838
*/
3939
private handleConnect() {
40-
this.socket.setTimeout(0)
4140
this.emit("connect")
4241
}
4342

@@ -78,4 +77,4 @@ export class ProtocolRAW extends EventEmitter implements TeamSpeakQuery.QueryPro
7877
return this.socket.destroy()
7978
}
8079

81-
}
80+
}

0 commit comments

Comments
 (0)