summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/download.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp
index 45f2989c0..d36c59032 100644
--- a/src/net/download.cpp
+++ b/src/net/download.cpp
@@ -583,6 +583,9 @@ void Download::secureCurl(CURL *const curl A_UNUSED)
#if LIBCURL_VERSION_NUM >= 0x070a08
curl_easy_setopt(curl, CURLOPT_MAXFILESIZE, 536870912);
#endif // LIBCURL_VERSION_NUM >= 0x070a08
+
+ curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 1L);
+ curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 60L);
}
#if LIBCURL_VERSION_NUM >= 0x071507