mirror of https://github.com/Icinga/icinga2.git
Start SSL handshake once the connection has been established.
This commit is contained in:
parent
c8a5343fe5
commit
3f1fb0e36d
|
@ -56,6 +56,8 @@ void TLSClient::Start(void)
|
|||
SSL_set_accept_state(m_SSL.get());
|
||||
else
|
||||
SSL_set_connect_state(m_SSL.get());
|
||||
|
||||
SSL_do_handshake(m_SSL.get());
|
||||
}
|
||||
|
||||
int TLSClient::ReadableEventHandler(const EventArgs& ea)
|
||||
|
|
|
@ -16,9 +16,6 @@
|
|||
"rpclistener": {
|
||||
"kekslistener": { "replicate": "0", "port": "7777" }
|
||||
},
|
||||
"rpcconnection": {
|
||||
"foo": { "replicate": "0", "hostname": "10.0.10.3", "port": "7777" }
|
||||
},
|
||||
"host": {
|
||||
"localhost": { "ipaddr": "127.0.0.1" }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue