enable tls with https connection

This commit is contained in:
Nim Wijetunga 2023-03-30 21:45:03 -07:00
parent 3164cadc6f
commit 4a68e6072a
1 changed files with 2 additions and 1 deletions

View File

@ -143,7 +143,8 @@ ACTOR Future<RESTConnectionPool::ReusableConnection> connect_impl(Reference<REST
ASSERT(poolItr == connectionPool->connectionPoolMap.end() || poolItr->second.empty());
// No valid connection exists, create a new one
state Reference<IConnection> conn = wait(INetworkConnections::net()->connect(connectKey.first, connectKey.second));
state Reference<IConnection> conn =
wait(INetworkConnections::net()->connect(connectKey.first, connectKey.second, isSecure));
wait(conn->connectHandshake());
TraceEvent("RESTTUilCreateNewConn")