lib/sailthru/client.rb in sailthru-client-4.0.2 vs lib/sailthru/client.rb in sailthru-client-4.0.3

- old
+ new

@@ -808,9 +808,10 @@ begin http = Net::HTTP::Proxy(@proxy_host, @proxy_port).new(_uri.host, _uri.port) if _uri.scheme == 'https' + http.ssl_version = :TLSv1 http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE if @verify_ssl != true # some openSSL client doesn't work without doing this http.ssl_timeout = @opts[:http_ssl_timeout] || 5 end http.open_timeout = @opts[:http_open_timeout] || 5