Issue #6088 has been reported by Eric Hodel. ---------------------------------------- Feature #6088: Add Net::ReadTimeout to distinguish which operation failed https://bugs.ruby-lang.org/issues/6088 Author: Eric Hodel Status: Open Priority: Normal Assignee: 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/