diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2021-02-22 18:35:46 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-23 00:17:20 +0000 |
commit | 137bd47d9138fe9bbb0e1fc81dfbbce2cfd35a96 (patch) | |
tree | 5e5fe10d6e485b0aa92872ad8dcf367150d80c6d /src/mongo/util/options_parser/options_parser.cpp | |
parent | 99c7dcf5c9630754051e0d6d7ca8604cda4d6646 (diff) | |
download | mongo-137bd47d9138fe9bbb0e1fc81dfbbce2cfd35a96.tar.gz |
SERVER-54139 Use a connection pool for curl handles
Diffstat (limited to 'src/mongo/util/options_parser/options_parser.cpp')
-rw-r--r-- | src/mongo/util/options_parser/options_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/options_parser/options_parser.cpp b/src/mongo/util/options_parser/options_parser.cpp index a01d229514c..315c62dd448 100644 --- a/src/mongo/util/options_parser/options_parser.cpp +++ b/src/mongo/util/options_parser/options_parser.cpp @@ -525,7 +525,7 @@ private: std::string runYAMLRestExpansion(StringData url, Seconds timeout) { - auto client = HttpClient::create(); + auto client = HttpClient::createWithoutConnectionPool(); uassert( ErrorCodes::OperationFailed, "No HTTP Client available in this build of MongoDB", client); |