add CLOG_DEBUG for opening/closing TCPSocket objects and fix assert() crash

This commit is contained in:
walker0643
2018-02-01 11:18:13 -05:00
parent 830f6acbef
commit eb025871c4
2 changed files with 10 additions and 0 deletions

View File

@@ -852,5 +852,9 @@ SecureSocket::showSecureConnectInfo()
void
SecureSocket::handleTCPConnected(const Event& event, void*)
{
if (getSocket() == nullptr) {
LOG((CLOG_DEBUG "disregarding stale connect event"));
return;
}
secureConnect();
}