Skip to content

Commit

Permalink
Allow redirection in dlman
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Mar 27, 2018
1 parent cdfb7d1 commit ac60041
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DownloadManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ inline CURL* initCURLHandle() {
curl_easy_setopt(curlHandle, CURLOPT_USERAGENT, "libcurl-agent/1.0");
curl_easy_setopt(curlHandle, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(curlHandle, CURLOPT_SSL_VERIFYHOST, 0L);
curl_easy_setopt(curlHandle, CURLOPT_FOLLOWLOCATION, 1L);
return curlHandle;
}
inline bool addFileToForm(curl_httppost *&form, curl_httppost *&lastPtr, string field, string fileName, string filePath, RString &contents)
Expand Down

0 comments on commit ac60041

Please sign in to comment.