fucking work please

This commit is contained in:
lolcat 2024-11-03 01:56:05 -04:00
parent b0d5953164
commit 9ffa9f703c
1 changed files with 6 additions and 0 deletions

View File

@ -409,6 +409,12 @@ async function handshake(name, password){
deek.emit("error", "code=" + code + " reason=" + reason); deek.emit("error", "code=" + code + " reason=" + reason);
}); });
ws._socket.setTimeout(10000);
ws._socket.on("timeout", function(){
deek.emit("error", "timed out")
});
} }
/* /*