mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 11:40:44 +00:00
[Network] Prune / disconnect TCP connections gracefully (#4574)
This commit is contained in:
1 parent
fe43d26dd6
commit
c44596b38a
13 files changed
+2
-73
No files matched your search
@@ -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