diff options
Diffstat (limited to 'src/client/cl_curl.c')
-rw-r--r-- | src/client/cl_curl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c index 734cc306..9c5e3cc4 100644 --- a/src/client/cl_curl.c +++ b/src/client/cl_curl.c @@ -298,6 +298,8 @@ void CL_cURL_BeginDownload( const char *localName, const char *remoteURL ) CL_cURL_CallbackProgress); qcurl_easy_setopt(clc.downloadCURL, CURLOPT_PROGRESSDATA, NULL); qcurl_easy_setopt(clc.downloadCURL, CURLOPT_FAILONERROR, 1); + qcurl_easy_setopt(clc.downloadCURL, CURLOPT_FOLLOWLOCATION, 1); + qcurl_easy_setopt(clc.downloadCURL, CURLOPT_MAXREDIRS, 5); clc.downloadCURLM = qcurl_multi_init(); if(!clc.downloadCURLM) { qcurl_easy_cleanup(clc.downloadCURL); |