summaryrefslogtreecommitdiff
path: root/src/net/CurlHttpClient.cpp
diff options
context:
space:
mode:
authorllnulldisk <48621230+llnulldisk@users.noreply.github.com>2023-01-29 14:54:20 +0100
committerllnulldisk <48621230+llnulldisk@users.noreply.github.com>2023-01-29 14:54:20 +0100
commita8defacf2ba9bc3029b16af48a539553f873866b (patch)
tree8cea4cad5a8bc15e8213193743111f41a73e1461 /src/net/CurlHttpClient.cpp
parent443b769670046340e266893e00f947c9ce37462f (diff)
Fix timeout issues (#251)
Diffstat (limited to 'src/net/CurlHttpClient.cpp')
-rw-r--r--src/net/CurlHttpClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/CurlHttpClient.cpp b/src/net/CurlHttpClient.cpp
index 2a397f9..c487898 100644
--- a/src/net/CurlHttpClient.cpp
+++ b/src/net/CurlHttpClient.cpp
@@ -11,7 +11,7 @@ CurlHttpClient::CurlHttpClient() : _httpParser() {
curlSettings = curl_easy_init();
curl_easy_setopt(curlSettings, CURLOPT_CONNECTTIMEOUT, 20);
- curl_easy_setopt(curlSettings, CURLOPT_TIMEOUT, 25);
+ curl_easy_setopt(curlSettings, CURLOPT_TIMEOUT, _timeout);
}
CurlHttpClient::~CurlHttpClient() {