move loop polling for upload completion into separate function

This commit is contained in:
josch
2014-12-29 13:57:53 +01:00
parent 07e545bd87
commit 80036b5bd9
8 changed files with 54 additions and 63 deletions

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_MS, 5000L);
//curl_easy_setopt(conn->curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
}