mirror of https://github.com/Icinga/icinga2.git
parent
1c7a0d03a1
commit
8903c7e379
|
@ -160,12 +160,11 @@ void TlsStream::OnEvent(int revents)
|
|||
|
||||
break;
|
||||
case TlsActionClose:
|
||||
rc = SSL_shutdown(m_SSL.get());
|
||||
(void) SSL_shutdown(m_SSL.get());
|
||||
rc = 1;
|
||||
|
||||
if (rc > 0) {
|
||||
m_CloseOK = true;
|
||||
m_CV.notify_all();
|
||||
}
|
||||
m_CloseOK = true;
|
||||
m_CV.notify_all();
|
||||
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue