diff options
author | Mathias Stearn <mathias@10gen.com> | 2018-12-10 12:17:31 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2018-12-20 13:02:42 -0500 |
commit | b502c26303ad0363a6684a2497eaf8e5f39adfc5 (patch) | |
tree | 211f5b98b2782d827bc0d301078ef3d75b60e5eb /src/mongo/executor/connection_pool_test_fixture.h | |
parent | 3691388900021034e338786116d60fd4d480a6e7 (diff) | |
download | mongo-b502c26303ad0363a6684a2497eaf8e5f39adfc5.tar.gz |
SERVER-35688 Make ConnectionPool support transport::ConnectSSLMode
Diffstat (limited to 'src/mongo/executor/connection_pool_test_fixture.h')
-rw-r--r-- | src/mongo/executor/connection_pool_test_fixture.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mongo/executor/connection_pool_test_fixture.h b/src/mongo/executor/connection_pool_test_fixture.h index 4202d0c9afe..e9215e3244f 100644 --- a/src/mongo/executor/connection_pool_test_fixture.h +++ b/src/mongo/executor/connection_pool_test_fixture.h @@ -89,6 +89,9 @@ public: void resetToUnknown() override; const HostAndPort& getHostAndPort() const override; + transport::ConnectSSLMode getSslMode() const override { + return transport::kGlobalSSLMode; + } bool isHealthy() override; @@ -151,7 +154,9 @@ class PoolImpl final : public ConnectionPool::DependentTypeFactoryInterface { public: std::shared_ptr<ConnectionPool::ConnectionInterface> makeConnection( - const HostAndPort& hostAndPort, size_t generation) override; + const HostAndPort& hostAndPort, + transport::ConnectSSLMode sslMode, + size_t generation) override; std::shared_ptr<ConnectionPool::TimerInterface> makeTimer() override; |