diff --git a/Sources/Gui/PackageUpdateManager.cpp b/Sources/Gui/PackageUpdateManager.cpp index 4b44ed6a..41311014 100644 --- a/Sources/Gui/PackageUpdateManager.cpp +++ b/Sources/Gui/PackageUpdateManager.cpp @@ -140,6 +140,14 @@ namespace spades { })); curl_easy_setopt(curl.get(), CURLOPT_WRITEDATA, &responseBuffer); curl_easy_setopt(curl.get(), CURLOPT_USERAGENT, OpenSpades_VER_STR); + curl_easy_setopt(curl.get(), CURLOPT_NOPROGRESS, 0); + curl_easy_setopt( + curl.get(), CURLOPT_XFERINFOFUNCTION, + static_cast( + [](void *, curl_off_t total, curl_off_t downloaded, curl_off_t, curl_off_t) -> int { + SPLog("Downloaded %zd bytes/%zd bytes", downloaded, total); + return 0; + })); m_parent.SetupCURLRequest(curl.get());