"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/remote/httpserverconnection.cpp" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

httpserverconnection.cpp  (icinga2-2.11.5):httpserverconnection.cpp  (icinga2-2.12.0)
skipping to change at line 37 skipping to change at line 37
#include <boost/beast/core.hpp> #include <boost/beast/core.hpp>
#include <boost/beast/http.hpp> #include <boost/beast/http.hpp>
#include <boost/system/error_code.hpp> #include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp> #include <boost/system/system_error.hpp>
#include <boost/thread/once.hpp> #include <boost/thread/once.hpp>
using namespace icinga; using namespace icinga;
auto const l_ServerHeader ("Icinga/" + Application::GetAppVersion()); auto const l_ServerHeader ("Icinga/" + Application::GetAppVersion());
HttpServerConnection::HttpServerConnection(const String& identity, bool authenti cated, const std::shared_ptr<AsioTlsStream>& stream) HttpServerConnection::HttpServerConnection(const String& identity, bool authenti cated, const Shared<AsioTlsStream>::Ptr& stream)
: HttpServerConnection(identity, authenticated, stream, IoEngine::Get().G etIoContext()) : HttpServerConnection(identity, authenticated, stream, IoEngine::Get().G etIoContext())
{ {
} }
HttpServerConnection::HttpServerConnection(const String& identity, bool authenti cated, const std::shared_ptr<AsioTlsStream>& stream, boost::asio::io_context& io ) HttpServerConnection::HttpServerConnection(const String& identity, bool authenti cated, const Shared<AsioTlsStream>::Ptr& stream, boost::asio::io_context& io)
: m_Stream(stream), m_Seen(Utility::GetTime()), m_IoStrand(io), m_Shuttin gDown(false), m_HasStartedStreaming(false), : m_Stream(stream), m_Seen(Utility::GetTime()), m_IoStrand(io), m_Shuttin gDown(false), m_HasStartedStreaming(false),
m_CheckLivenessTimer(io) m_CheckLivenessTimer(io)
{ {
if (authenticated) { if (authenticated) {
m_ApiUser = ApiUser::GetByClientCN(identity); m_ApiUser = ApiUser::GetByClientCN(identity);
} }
{ {
std::ostringstream address; std::ostringstream address;
auto endpoint (stream->lowest_layer().remote_endpoint()); auto endpoint (stream->lowest_layer().remote_endpoint());
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)