mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7654 from Icinga/bugfix/apilistener-const-sslcontext
Fix TLS context not being updated on signed certificate messages on agents
This commit is contained in:
commit
aee80d7f24
|
@ -416,7 +416,7 @@ bool ApiListener::AddListener(const String& node, const String& service)
|
|||
Log(LogInformation, "ApiListener")
|
||||
<< "Started new listener on '[" << localEndpoint.address() << "]:" << localEndpoint.port() << "'";
|
||||
|
||||
IoEngine::SpawnCoroutine(io, [this, acceptor, sslContext](asio::yield_context yc) { ListenerCoroutineProc(yc, acceptor, sslContext); });
|
||||
IoEngine::SpawnCoroutine(io, [this, acceptor](asio::yield_context yc) { ListenerCoroutineProc(yc, acceptor, m_SSLContext); });
|
||||
|
||||
UpdateStatusFile(localEndpoint);
|
||||
|
||||
|
|
Loading…
Reference in New Issue