summaryrefslogtreecommitdiff
path: root/src/mongo/client/connection_pool.cpp
diff options
context:
space:
mode:
authorJason Zhang <jason.zhang@mongodb.com>2021-01-21 18:17:11 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-25 23:36:36 +0000
commit57aa9e6106905a8969af5b997e2b316ce2d71b62 (patch)
treeaaccd931c426491393d596aea2d28f1cb938ed5a /src/mongo/client/connection_pool.cpp
parent2210368e6ef89de49491087750345197dcae96b8 (diff)
downloadmongo-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.cpp2
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()) {