write_timeout doc upates [skip ci]

From: MSP-Greg <MSP-Greg@users.noreply.github.com>
fix https://github.com/ruby/ruby/pull/1885

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2018-06-08 17:20:20 +00:00
Родитель b5b7820ec2
Коммит 51cfea31e5
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -742,10 +742,11 @@ module Net #:nodoc:
# it raises a Net::ReadTimeout exception. The default value is 60 seconds.
attr_reader :read_timeout
# Number of seconds to wait for one block to be write (via one write(2)
# 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.
attr_reader :write_timeout
# Maximum number of times to retry an idempotent request in case of

Просмотреть файл

@ -79,7 +79,7 @@ module Net # :nodoc:
##
# WriteTimeout, a subclass of Timeout::Error, is raised if a chunk of the
# response cannot be write within the write_timeout.
# response cannot be written within the write_timeout. Not raised on Windows.
class WriteTimeout < Timeout::Error; end