comment out timeout thread for now

This commit is contained in:
Lion Kortlepel
2020-11-12 02:02:26 +01:00
parent 80c5341650
commit 3137f4e9db
+2 -2
View File
@@ -130,8 +130,8 @@ void Identification(SOCKET TCPSock,Hold*S,RSA*Skey){
Assert(S); Assert(S);
Assert(Skey); Assert(Skey);
S->TCPSock = TCPSock; S->TCPSock = TCPSock;
std::thread Timeout(Check,S); //std::thread Timeout(Check,S);
Timeout.detach(); //Timeout.detach();
std::string Name,DID,Role; std::string Name,DID,Role;
if(!Send(TCPSock,GenerateM(Skey))) { if(!Send(TCPSock,GenerateM(Skey))) {
error("died on " + std::string(__func__) + ":" + std::to_string(__LINE__)); error("died on " + std::string(__func__) + ":" + std::to_string(__LINE__));