diff options
author | Gabriel Marks <gabriel.marks@mongodb.com> | 2022-05-05 18:50:35 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-05 22:52:03 +0000 |
commit | 39a79932ad678b30b052e099323fd086679aa8a3 (patch) | |
tree | c4ca52a0197374b13d41e3b5754da1380805f07a /src/mongo/util/net/http_client_curl.cpp | |
parent | f812c3bc873762960f32dbb64de1acb0e0133f01 (diff) | |
download | mongo-39a79932ad678b30b052e099323fd086679aa8a3.tar.gz |
SERVER-66111 Set default timeouts in HttpClient
Diffstat (limited to 'src/mongo/util/net/http_client_curl.cpp')
-rw-r--r-- | src/mongo/util/net/http_client_curl.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/util/net/http_client_curl.cpp b/src/mongo/util/net/http_client_curl.cpp index af91c074c1c..5481a062e9d 100644 --- a/src/mongo/util/net/http_client_curl.cpp +++ b/src/mongo/util/net/http_client_curl.cpp @@ -602,14 +602,6 @@ public: _headers = headers; } - void setTimeout(Seconds timeout) final { - _timeout = timeout; - } - - void setConnectTimeout(Seconds timeout) final { - _connectTimeout = timeout; - } - HttpReply request(HttpMethod method, StringData url, ConstDataRange cdr = {nullptr, 0}) const final { @@ -711,8 +703,6 @@ private: HttpConnectionPool _pool; bool _allowInsecure{false}; - Seconds _timeout; - Seconds _connectTimeout; }; class HttpClientProviderImpl : public HttpClientProvider { |