Project

General

Profile

Bug #10712 ยป 0001-lib-resolv.rb-consider-ENETUNREACH-as-ResolvTimeout.patch

normalperson (Eric Wong), 01/07/2015 09:59 PM

View differences:

lib/resolv.rb
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-1/1)