[Network] Prune / disconnect TCP connections gracefully (#4574)

This commit is contained in:
Chris Miles
2025-01-05 23:48:00 -06:00
committed by GitHub
parent fe43d26dd6
commit c44596b38a
13 changed files with 2 additions and 73 deletions
-10
View File
@@ -595,11 +595,6 @@ bool LoginServer::Connect()
);
}
m_keepalive = std::make_unique<EQ::Timer>(
1000,
true,
std::bind(&LoginServer::OnKeepAlive, this, std::placeholders::_1));
return true;
}
@@ -716,8 +711,3 @@ void LoginServer::SendAccountUpdate(ServerPacket *pack)
}
}
void LoginServer::OnKeepAlive(EQ::Timer *t)
{
ServerPacket pack(ServerOP_KeepAlive, 0);
SendPacket(&pack);
}