summaryrefslogtreecommitdiff
path: root/src/mongo/executor/connection_pool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/executor/connection_pool.cpp')
-rw-r--r--src/mongo/executor/connection_pool.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mongo/executor/connection_pool.cpp b/src/mongo/executor/connection_pool.cpp
index 38ff62eebf4..36275566ce0 100644
--- a/src/mongo/executor/connection_pool.cpp
+++ b/src/mongo/executor/connection_pool.cpp
@@ -450,12 +450,15 @@ auto ConnectionPool::SpecificPool::make(std::shared_ptr<ConnectionPool> parent,
const Status ConnectionPool::kConnectionStateUnknown =
Status(ErrorCodes::InternalError, "Connection is in an unknown state");
-ConnectionPool::ConnectionPool(std::shared_ptr<DependentTypeFactoryInterface> impl,
- std::string name,
- Options options)
+ConnectionPool::ConnectionPool(
+ std::shared_ptr<DependentTypeFactoryInterface> impl,
+ std::string name,
+ Options options,
+ std::shared_ptr<const transport::SSLConnectionContext> transientSSLContext)
: _name(std::move(name)),
_factory(std::move(impl)),
_options(std::move(options)),
+ _transientSSLContext(std::move(transientSSLContext)),
_controller(_options.controllerFactory()),
_manager(options.egressTagCloserManager) {
if (_manager) {