Browse Source

Enable CURLOPT_FOLLOWLOCATION in libcurl.

tags/v2.0.0
Andrew Belt 4 years ago
parent
commit
03b6aee33f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/network.cpp

+ 1
- 1
src/network.cpp View File

@@ -13,7 +13,7 @@ static CURL* createCurl() {
assert(curl);

// curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
// curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, true);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, true);

std::string caPath = asset::system("cacert.pem");
curl_easy_setopt(curl, CURLOPT_CAINFO, caPath.c_str());


Loading…
Cancel
Save