diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-01-13 11:28:39 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-01-16 12:30:49 +0100 |
commit | d1eda1195e6453a196327b46d54c974e6d1ddc5d (patch) | |
tree | 52498b01764603059303496b3d4fdf31d360c85f /src/other_tools/ops_maps/repo_fetch_map.cpp | |
parent | e1c1eccba390d07d83aec6002448ed7bcce50399 (diff) | |
download | justbuild-d1eda1195e6453a196327b46d54c974e6d1ddc5d.tar.gz |
CurlEasyHandle: Fix empty fetches due to unfollowed URLs
For libcurl we need to set the CURL_FOLLOWLOCATION flag (disbaled by
default) to enable 3xx redirects. Libcurl has sane defaults for
related settings in order to handle redirects when enabled, though
for fetches there should be limited risks, as content (and SHA hashes,
if provided) is checked to ensure the intended archives are fetched.
Diffstat (limited to 'src/other_tools/ops_maps/repo_fetch_map.cpp')
0 files changed, 0 insertions, 0 deletions