user older option for setting timeout to support older systems

This commit is contained in:
root
2014-12-29 22:08:10 -06:00
parent 90dc1c2927
commit 636d22504c

View File

@@ -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);
}