Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Net::HTTP#write_timeout method (Ruby 2.6.0) #647

Merged

Commits on Feb 18, 2019

  1. Add support for Net::HTTP#write_timeout method (Ruby 2.6.0)

    [The method](https://ruby-doc.org/stdlib-2.6/libdoc/net/http/rdoc/Net/HTTP.html#method-i-write_timeout-3D) was introduced in Ruby 2.6.0.
    
    The gem already supports `open_timeout` & `read_timeout`, so it would be nice to provide support for `write_timeout` as well.
    
    From the official documentation:
    
    > Number of seconds to wait for one block to be written (via one write(2) call). Any number may be used, including Floats for fractional seconds. If the HTTP object cannot write data in this many seconds, it raises a Net::WriteTimeout exception. The default value is 60 seconds. Net::WriteTimeout is not raised on Windows.
    springerigor committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    ab729db View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2019

  1. Configuration menu
    Copy the full SHA
    f68e125 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b36742b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1b35b88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    46e84c0 View commit details
    Browse the repository at this point in the history