diff options
author | Jason Zhang <jason.zhang@mongodb.com> | 2021-01-21 18:17:11 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-01-25 23:36:36 +0000 |
commit | 57aa9e6106905a8969af5b997e2b316ce2d71b62 (patch) | |
tree | aaccd931c426491393d596aea2d28f1cb938ed5a /src/mongo/client/connection_pool.cpp | |
parent | 2210368e6ef89de49491087750345197dcae96b8 (diff) | |
download | mongo-57aa9e6106905a8969af5b997e2b316ce2d71b62.tar.gz |
SERVER-53724 Make DBClient able to reauthenticate with x509 automatically when reconnecting for tenant migrations
Diffstat (limited to 'src/mongo/client/connection_pool.cpp')
-rw-r--r-- | src/mongo/client/connection_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/connection_pool.cpp b/src/mongo/client/connection_pool.cpp index 1dc6884f1fe..068ab4f3581 100644 --- a/src/mongo/client/connection_pool.cpp +++ b/src/mongo/client/connection_pool.cpp @@ -188,7 +188,7 @@ ConnectionPool::ConnectionList::iterator ConnectionPool::acquireConnection( // the number of seconds with a fractional part. conn->setSoTimeout(durationCount<Milliseconds>(timeout) / 1000.0); - uassertStatusOK(conn->connect(target, StringData())); + uassertStatusOK(conn->connect(target, StringData(), boost::none)); conn->setTags(_messagingPortTags); if (auth::isInternalAuthSet()) { |