Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Establish a larger send timeout.

resolves #58
  • Loading branch information...
commit b515d5393bf8cf91990f5e2071a7a070a5b34338 1 parent 24386b9
@cwninja cwninja authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/geminabox_client.rb
View
1  lib/geminabox_client.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.