Permalink
Browse files

Establish a larger send timeout.

resolves #58
  • Loading branch information...
1 parent 24386b9 commit b515d5393bf8cf91990f5e2071a7a070a5b34338 @tomlea committed Mar 27, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/geminabox_client.rb
View
@@ -10,6 +10,7 @@ def initialize(url)
@http_client.set_auth(url_for(:upload), @username, @password) if @username or @password
@http_client.www_auth.basic_auth.challenge(url_for(:upload)) # Workaround: https://github.com/nahi/httpclient/issues/63
@http_client.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE
+ @http_client.send_timeout = 600
end
def extract_username_and_password_from_url!(url)

0 comments on commit b515d53

Please sign in to comment.