ruby/lib/net
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
..
http [ruby/net-http] Enforce write timeout when body_stream is used 2021-07-29 15:53:54 +09:00
http.rb [ruby/net-http] Do not require stringio 2021-05-06 15:58:41 +09:00
https.rb
net-protocol.gemspec Added dependencies for net-protocol 2020-12-02 09:12:25 +09:00
protocol.rb [ruby/net-protocol] Get rid of `__send__` 2021-06-16 22:23:46 +09:00