deleted secure socket when close client time out #4313
This commit is contained in:
parent
3aa6bed669
commit
5f33a21878
|
@ -1375,7 +1375,10 @@ Server::handleClientCloseTimeout(const Event&, void* vclient)
|
|||
BaseClientProxy* client = reinterpret_cast<BaseClientProxy*>(vclient);
|
||||
LOG((CLOG_NOTE "forced disconnection of client \"%s\"", getName(client).c_str()));
|
||||
removeOldClient(client);
|
||||
PacketStreamFilter* streamFileter = dynamic_cast<PacketStreamFilter*>(client->getStream());
|
||||
TCPSocket* socket = dynamic_cast<TCPSocket*>(streamFileter->getStream());
|
||||
delete client;
|
||||
m_clientListener->deleteSocket(socket);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue