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:
Robert Hensing 2024-07-07 02:47:24 +02:00 committed by GitHub
commit fd4b17ab2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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());