From a8defacf2ba9bc3029b16af48a539553f873866b Mon Sep 17 00:00:00 2001 From: llnulldisk <48621230+llnulldisk@users.noreply.github.com> Date: Sun, 29 Jan 2023 14:54:20 +0100 Subject: Fix timeout issues (#251) --- src/net/CurlHttpClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/CurlHttpClient.cpp') 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() { -- cgit v1.2.3