feat: configure aws s3 lib to use system defined proxy, if existent

This commit is contained in:
Romain NEIL 2024-07-06 21:46:58 +02:00
parent 896eb7a44b
commit 514062c227

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