mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Network] Prune / disconnect TCP connections gracefully (#4574)
This commit is contained in:
@@ -80,6 +80,8 @@ void EQ::Net::TCPConnection::Start() {
|
||||
}
|
||||
}
|
||||
else if (nread == UV_EOF) {
|
||||
connection->Disconnect();
|
||||
|
||||
if (buf->base) {
|
||||
delete[] buf->base;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user