Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 326ab3c

Browse files
authored
Merge pull request #2132 from janhq/s/chore/cherry-pick-from-dev
chore: cherry-pick from dev
2 parents 5dc9ed4 + bc2bc17 commit 326ab3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/utils/curl_utils.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ cpp::result<std::string, std::string> SimpleGet(const std::string& url,
147147
std::default_delete<CurlResponse>());
148148

149149
SetUpProxy(curl, url);
150+
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
150151
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
151152
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, CurlResponse::WriteCallback);
152153
curl_easy_setopt(curl, CURLOPT_WRITEDATA, response);

0 commit comments

Comments
 (0)