summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/download.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp
index d5903551..526f6dad 100644
--- a/src/net/download.cpp
+++ b/src/net/download.cpp
@@ -203,6 +203,7 @@ int Download::downloadThread(void *ptr)
{
logger->log("Downloading: %s", d->mUrl.c_str());
+ curl_easy_setopt(d->mCurl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(d->mCurl, CURLOPT_HTTPHEADER, d->mHeaders);
if (d->mOptions.memoryWrite)