Fix build and cleanup

This commit is contained in:
Nikita Mikhaylov
2025-01-08 11:53:54 +01:00
committed by Nikita Mikhaylov
parent a4f0ca0a6e
commit e41b53fcae
10 changed files with 59 additions and 317 deletions
+5 -10
View File
@@ -393,16 +393,6 @@ static std::string getCanonicalPath(std::string && path)
return std::move(path);
}
Server::Server()
{
#if USE_SSL
::ssh::LibSSHInitializer::instance();
::ssh::libsshLogger::initialize();
#endif
}
Poco::Net::SocketAddress Server::socketBindListen(
const Poco::Util::AbstractConfiguration & config,
Poco::Net::ServerSocket & socket,
@@ -887,6 +877,11 @@ try
setJemallocBackgroundThreads(true);
#endif
#if USE_SSL
::ssh::LibSSHInitializer::instance();
::ssh::libsshLogger::initialize();
#endif
Stopwatch startup_watch;
Poco::Logger * log = &logger();