mirror of
https://github.com/NixOS/nix.git
synced 2024-11-29 10:12:28 +00:00
feat: configure aws s3 lib to use system defined proxy, if existent
This commit is contained in:
parent
896eb7a44b
commit
514062c227
@ -132,6 +132,7 @@ ref<Aws::Client::ClientConfiguration> S3Helper::makeConfig(
|
||||
{
|
||||
initAWS();
|
||||
auto res = make_ref<Aws::Client::ClientConfiguration>();
|
||||
res->allowSystemProxy = true;
|
||||
res->region = region;
|
||||
if (!scheme.empty()) {
|
||||
res->scheme = Aws::Http::SchemeMapper::FromString(scheme.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user