diff --git a/utils/http.c b/utils/http.c index 4b02391..4f008a7 100644 --- a/utils/http.c +++ b/utils/http.c @@ -72,7 +72,7 @@ static void http_curl_reset(mfhttp * conn) curl_easy_setopt(conn->curl_handle, CURLOPT_VERBOSE, 0L); // it should never take 5 seconds to establish a connection to the server - curl_easy_setopt(conn->curl_handle, CURLOPT_CONNECTTIMEOUT_MS, 5000L); + curl_easy_setopt(conn->curl_handle, CURLOPT_CONNECTTIMEOUT, 5); //curl_easy_setopt(conn->curl_handle, CURLOPT_SSL_VERIFYPEER, 0L); }