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