mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Merge pull request #11056 from romain-neil/s3-allow-use-of-proxy
Configure aws s3 lib to use system defined proxy, if existent
This commit is contained in:
commit
fd4b17ab2c
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ ref<Aws::Client::ClientConfiguration> S3Helper::makeConfig(
|
||||||
{
|
{
|
||||||
initAWS();
|
initAWS();
|
||||||
auto res = make_ref<Aws::Client::ClientConfiguration>();
|
auto res = make_ref<Aws::Client::ClientConfiguration>();
|
||||||
|
res->allowSystemProxy = true;
|
||||||
res->region = region;
|
res->region = region;
|
||||||
if (!scheme.empty()) {
|
if (!scheme.empty()) {
|
||||||
res->scheme = Aws::Http::SchemeMapper::FromString(scheme.c_str());
|
res->scheme = Aws::Http::SchemeMapper::FromString(scheme.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue