rackspace/ruby-cloudfiles — pull request #75 by andrewle (2012-04-05 20:40:13+00:00)
Title: Configurable HTTP read timeout for API requests

Allowing connections to the CloudFiles API to have configurable read
timeouts works around current issues with CloudFiles where copying or
moving large storage objects (> 4GB) can take more than 60 seconds to
complete, which would cause Net::HTTP to throw a TimeoutError exception.

With configurable timeouts, clients can choose to wait longer when
performing such operations on large objects.

The synax for modifying the HTTP read timeout is currently:

```ruby
SwiftClient.read_timeout =
```

Where TIMEOUT is the desired value for the timeout in seconds. I am open to comments and suggestions on what the API for this should be; particularly if there is a way we can come up with an API that allows a user of the gem to set this timeout without having to interact directly with `SwiftClient`.