httpclient
httpclient copied to clipboard
Too big for int - error
Using the google_drive gem which utilises httpclient via google-api-ruby-client, breaks when encountering too high a timeout value:
RangeError: too big for int: 100000000000
.. /jruby-9.1.12.0/gems/httpclient-2.8.3/lib/httpclient/jruby_ssl_socket.rb:26:in `connect'
Initially logged with JRuby #4744, @headius suggested guarding against too high a value
I believe this was fixed by #375 and can be closed.