Used global region for accessing S3 if can't determine exactly.

This commit is contained in:
Vladimir Chebotarev 2020-11-23 08:19:38 +03:00
parent e581f9ccfc
commit b3e2ebbaa5

View File

@ -71,6 +71,10 @@ void PocoHTTPClientConfiguration::updateSchemeAndRegion()
boost::algorithm::to_lower(matched_region);
region = matched_region;
}
else
{
region = Aws::Region::AWS_GLOBAL;
}
}
}