1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/webrick
normal 9bb7dfa247 normalize reference to Timeout::Error
From: John Bachir <j@jjb.cc>

* bootstraptest/test_io.rb (assert_finish):
  normalize rescue for Timeout::Error
* lib/net/ftp.rb (Net#read_timeout): ditto for doc
* lib/resolv.rb (Resolv::ResolvTimeout): ditto for subclass
* lib/webrick/httprequest.rb (_read_data): ditto for rescue
* sample/timeout.rb (p timeout): ditto for call
* test/drb/drbtest.rb (test_06_timeout): ditto
* test/ruby/test_readpartial.rb (test_open_pipe): ditto
* test/thread/test_queue.rb (test_queue_thread_raise): ditto
* thread.c (rb_thread_s_handle_interrupt): ditto for doc
  [ruby-core:65481] [misc #10339]

TimeoutError is a legacy constant, Timeout::Error is the canonical constant.
This patch normalizes all code and comments to reference Timeout::Error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-07 20:00:09 +00:00
..
httpauth * lib/webrick/httpauth/digestauth.rb: Fix typo in an error message. 2013-11-29 14:03:26 +00:00
httpservlet * lib/webrick/httpproxy.rb: remvoe useless assigned variables. 2014-06-26 09:05:58 +00:00
accesslog.rb * ext/win32ole/sample/olegen.rb: Fix typo 2013-12-11 03:58:07 +00:00
cgi.rb * lib/webrick/accesslog.rb: Improved WEBrick documentation. 2013-01-26 01:12:54 +00:00
compat.rb * lib/webrick/compat.rb, lib/xmlrpc/datetime.rb: [DOC] fix typo by @vipulnsward [fix GH-464] 2013-12-06 02:10:11 +00:00
config.rb * lib/webrick/accesslog.rb: Improved WEBrick documentation. 2013-01-26 01:12:54 +00:00
cookie.rb * remove trailing spaces. 2013-01-26 02:31:43 +00:00
htmlutils.rb webrick: fix non-ascii escape bugs 2013-05-20 01:40:30 +00:00
httpauth.rb
httpproxy.rb * lib/webrick/httpproxy.rb: remove needless condition 2014-08-08 05:34:48 +00:00
httprequest.rb normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
httpresponse.rb * lib/gserver.rb: remove redundant use of to_s in interpolation. 2014-06-24 08:48:46 +00:00
https.rb * lib/webrick/accesslog.rb: Improved WEBrick documentation. 2013-01-26 01:12:54 +00:00
httpserver.rb webrick/httpserver.rb: Stop handling requests on shutdown 2014-05-08 01:17:07 +00:00
httpservlet.rb
httpstatus.rb * lib/webrick/httpstatus.rb: [DOC] Fix typo 2013-12-06 04:34:35 +00:00
httputils.rb webrick: fix non-ascii escape bugs 2013-05-20 01:40:30 +00:00
httpversion.rb * lib/webrick/accesslog.rb: Improved WEBrick documentation. 2013-01-26 01:12:54 +00:00
log.rb * lib/webrick/accesslog.rb: Improved WEBrick documentation. 2013-01-26 01:12:54 +00:00
server.rb * lib/webrick/httpproxy.rb: remvoe useless assigned variables. 2014-06-26 09:05:58 +00:00
ssl.rb * lib/webrick/ssl.rb: [DOC] Fix typo 2013-12-25 05:10:12 +00:00
utils.rb webrick/utils.rb: mark by class name 2014-07-02 06:26:02 +00:00
version.rb * lib/webrick/accesslog.rb: Improved WEBrick documentation. 2013-01-26 01:12:54 +00:00