ruby/lib/net/http
Miguel Teixeira 60b02db516 [ruby/net-http] Enforce write timeout when body_stream is used
The existing implementation of `Net::HTTP#write_timeout` relies on
`Net::BefferedIO` to trigger the `Net::WriteTimeout` error. This commit
changes `send_request_with_body_stream` to remove the optimization that
was making `Net::HTTP#write_timeout` not work when `body_stream` is
used.

Open issue:
https://bugs.ruby-lang.org/issues/17933

https://github.com/ruby/net-http/commit/a0fab1ab52
2021-07-29 15:53:54 +09:00
..
backward.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
exceptions.rb Get rid of warnings of test/spec 2018-06-14 09:01:38 +00:00
generic_request.rb [ruby/net-http] Enforce write timeout when body_stream is used 2021-07-29 15:53:54 +09:00
header.rb Improve documentation for Net::HTTPHeader#set_form [ci skip] 2020-05-27 13:13:46 -07:00
net-http.gemspec Added dependencies for net-http 2020-12-02 09:12:25 +09:00
proxy_delta.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
request.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
requests.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
response.rb Fix error raised by Net::HTTPResponse#inflater if the block raises 2020-05-31 12:48:14 +02:00
responses.rb Use `Net::HTTPClientException` instead of `Net::HTTPServerException` 2018-06-06 12:13:16 +00:00
status.rb Remove uselsess shebang 2019-10-09 12:41:41 +09:00