abashev / vfs-s3

Amazon S3 driver for Apache commons-vfs (Virtual File System) project
Apache License 2.0
92 stars 50 forks source link

Use ObjectMetadata where possible in S3FileObject, to avoid keeping unused http connections open #11

Closed alza-bitz closed 11 years ago

alza-bitz commented 11 years ago

On the awssdk branch, to avoid ConnectionPoolTimeoutException errors that prevent most of the tests in S3ProviderTest from completing, use ObjectMetadata instead of S3Object where possible in S3FileObject; this will avoid keeping unused http connections open, as mentioned in the Javadoc for AmazonS3.getObject(..)