summaryrefslogtreecommitdiff
path: root/src/mongo/executor/connection_pool.cpp
diff options
context:
space:
mode:
authorAndrew Shuvalov <andrew.shuvalov@mongodb.com>2020-11-04 03:47:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-05 22:45:59 +0000
commiteb98e34176e5964d883d57e1b9c0cb196ae49c64 (patch)
tree1bf6053a2bd28ec44212762e5809e38292c51b1d /src/mongo/executor/connection_pool.cpp
parent181fe6f7b1d0f092e8b7e196671fec2c2f45d671 (diff)
downloadmongo-eb98e34176e5964d883d57e1b9c0cb196ae49c64.tar.gz
SERVER-51811: No-op wiring of transient SSL params in related methods
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) {