Loading editor/src/webedit_server.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -53,8 +53,12 @@ webedit::Server::Server(std::vector<netplus::socket*> serversocket, // Create connection pools for each auth source for (size_t i = 0; i < _config.getAuthSourceCount(); ++i) { const auto &src = _config.getAuthSource(i); _authPools.push_back(std::make_unique<authdb::client::ConnectionPool>( src.url, src.clientName, src.clientSecret, 4)); auto pool = std::make_unique<authdb::client::ConnectionPool>( src.url, src.clientName, src.clientSecret, 4); // ConnectionPool opens its HTTP client on the first acquire(), so the // source's TLS policy must be applied to the pool beforehand. pool->setTlsVerify(src.tlsVerify); _authPools.push_back(std::move(pool)); } // Auto-create login GPO on all auth sources Loading Loading
editor/src/webedit_server.cpp +6 −2 Original line number Diff line number Diff line Loading @@ -53,8 +53,12 @@ webedit::Server::Server(std::vector<netplus::socket*> serversocket, // Create connection pools for each auth source for (size_t i = 0; i < _config.getAuthSourceCount(); ++i) { const auto &src = _config.getAuthSource(i); _authPools.push_back(std::make_unique<authdb::client::ConnectionPool>( src.url, src.clientName, src.clientSecret, 4)); auto pool = std::make_unique<authdb::client::ConnectionPool>( src.url, src.clientName, src.clientSecret, 4); // ConnectionPool opens its HTTP client on the first acquire(), so the // source's TLS policy must be applied to the pool beforehand. pool->setTlsVerify(src.tlsVerify); _authPools.push_back(std::move(pool)); } // Auto-create login GPO on all auth sources Loading