diff options
-rw-r--r-- | src/net/download.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp index d36c59032..9068f15ca 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -584,6 +584,10 @@ void Download::secureCurl(CURL *const curl A_UNUSED) curl_easy_setopt(curl, CURLOPT_MAXFILESIZE, 536870912); #endif // LIBCURL_VERSION_NUM >= 0x070a08 +#if LIBCURL_VERSION_NUM >= 0x073100 + curl_easy_setopt(curl, CURLOPT_TCP_FASTOPEN, 1L); +#endif // LIBCURL_VERSION_NUM >= 0x073100 + curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 1L); curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 60L); } |