lib/geminabox_client.rb in geminabox-jgraichen-0.12.2.3 vs lib/geminabox_client.rb in geminabox-jgraichen-0.12.2.4

- old
+ new

@@ -7,9 +7,10 @@ def initialize(url) extract_username_and_password_from_url!(url) @http_client = HTTPClient.new @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.set_default_paths @http_client.send_timeout = 0 @http_client.receive_timeout = 0 end def extract_username_and_password_from_url!(url)