From: "naruse (Yui NARUSE)" Date: 2012-03-30T15:31:45+09:00 Subject: [ruby-core:43927] [ruby-trunk - Feature #6088] Add Net::ReadTimeout to distinguish which operation failed Issue #6088 has been updated by naruse (Yui NARUSE). Assignee changed from naruse (Yui NARUSE) to drbrain (Eric Hodel) You can commit it. ---------------------------------------- Feature #6088: Add Net::ReadTimeout to distinguish which operation failed https://bugs.ruby-lang.org/issues/6088#change-25451 Author: drbrain (Eric Hodel) Status: Assigned Priority: Normal Assignee: drbrain (Eric Hodel) Category: lib Target version: 2.0.0 This relates to #5765 which improves use of timeout in net/ and #6001 which introduces Net::HTTP::OpenTimeout. This patch introduces Net::ReadTimeout as a subclass of Timeout::Error and raises it when a read operation takes too long. Users may use this to distinguish between timeouts for reading and timeouts for connecting to a remote host. For a read timeout the user may wish to retry the operation. -- http://bugs.ruby-lang.org/