mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) r49175: [Backport #10712]
* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout [ruby-core:67411] [Bug #10712] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4ad3a5c32c
commit
8e73157dd0
3 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Sun Mar 1 01:14:59 2015 Eric Wong <e@80x24.org>
|
||||
|
||||
* lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
|
||||
[ruby-core:67411] [Bug #10712]
|
||||
|
||||
Sun Mar 1 01:01:21 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/net/http.rb (Net::HTTP#send_request): there is no response body
|
||||
|
|
|
|||
|
|
@ -671,8 +671,8 @@ class Resolv
|
|||
timelimit = start + tout
|
||||
begin
|
||||
sender.send
|
||||
rescue Errno::EHOSTUNREACH
|
||||
# multi-homed IPv6 may generate this
|
||||
rescue Errno::EHOSTUNREACH, # multi-homed IPv6 may generate this
|
||||
Errno::ENETUNREACH
|
||||
raise ResolvTimeout
|
||||
end
|
||||
while true
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.1.5"
|
||||
#define RUBY_RELEASE_DATE "2015-03-01"
|
||||
#define RUBY_PATCHLEVEL 302
|
||||
#define RUBY_PATCHLEVEL 303
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2015
|
||||
#define RUBY_RELEASE_MONTH 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue