diff --git a/lib/curlrequester.cpp b/lib/curlrequester.cpp index 486f330..ee0f115 100644 --- a/lib/curlrequester.cpp +++ b/lib/curlrequester.cpp @@ -9,6 +9,7 @@ CurlRequester::CurlRequester(std::string addr, bool ignoreSslErrors, bool verbos { curl_easy_setopt(_curl, CURLOPT_URL, addr.c_str()); curl_easy_setopt(_curl, CURLOPT_VERBOSE, verbose); + curl_easy_setopt(_curl, CURLOPT_CONNECTTIMEOUT_MS, 2000); if(ignoreSslErrors) {