mirror of https://github.com/apache/jclouds.git
98ea917477
When making a GetBucketLocation request, Amazon may route the request to the bucket region. When making it with v4 signer, the request may fail because of the region mismatch. Concretely, a request to test.s3.amazonaws.com may resolve to s3-us-west-2-w.amazonaws.com. The request itself is prepared for the us-east-1 region (s3.amazonaws.com endpoint), but then fails when the DNS resolution points to a us-west-2 endpoint. Bucket-in-path works around this for the GetBucketLocation requests. That means that every GetBucketLocation request will be of the form: https://s3.amazonaws.com/{bucket}?location. This ensures that jclouds requests will not be subjected to Amazon's routing/DNS pointers. Fixes: JCLOUDS-1213 |
||
---|---|---|
.. | ||
atmos | ||
byon | ||
chef | ||
cloudstack | ||
cloudwatch | ||
docker | ||
ec2 | ||
elasticstack | ||
filesystem | ||
oauth | ||
openstack-cinder | ||
openstack-keystone | ||
openstack-nova | ||
openstack-nova-ec2 | ||
openstack-swift | ||
openstack-trove | ||
rackspace-clouddns | ||
rackspace-cloudfiles | ||
rackspace-cloudidentity | ||
rackspace-cloudloadbalancers | ||
route53 | ||
s3 | ||
sqs | ||
sts | ||
pom.xml |