summaryrefslogtreecommitdiff
path: root/src/mongo/client/mongo_uri_connect.cpp
diff options
context:
space:
mode:
authorsamantharitter <samantha.ritter@10gen.com>2016-09-13 13:07:32 -0400
committersamantharitter <samantha.ritter@10gen.com>2016-09-13 13:13:15 -0400
commit7c3878adaf73736c33c7f65b718d8b5705c36142 (patch)
tree6d35cbb1e0701097c1d781009a3e818de74493a9 /src/mongo/client/mongo_uri_connect.cpp
parentbb4ab61013c56be2d1a036b6e90a60209b3ca974 (diff)
downloadmongo-7c3878adaf73736c33c7f65b718d8b5705c36142.tar.gz
SERVER-25151 Honor 'ssl' option in URIs passed to the shell
Diffstat (limited to 'src/mongo/client/mongo_uri_connect.cpp')
-rw-r--r--src/mongo/client/mongo_uri_connect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/mongo_uri_connect.cpp b/src/mongo/client/mongo_uri_connect.cpp
index 7909e0bd5cd..140af0fff1d 100644
--- a/src/mongo/client/mongo_uri_connect.cpp
+++ b/src/mongo/client/mongo_uri_connect.cpp
@@ -177,7 +177,7 @@ DBClientBase* MongoURI::connect(StringData applicationName, std::string& errmsg)
}
}
- auto ret = _connectString.connect(applicationName, errmsg, socketTimeout);
+ auto ret = _connectString.connect(applicationName, errmsg, socketTimeout, this);
if (!ret) {
return ret;
}