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
670 670
        timelimit = start + tout
671 671
        begin
672 672
          sender.send
673
        rescue Errno::EHOSTUNREACH
674
          # multi-homed IPv6 may generate this
673
        rescue Errno::EHOSTUNREACH, # multi-homed IPv6 may generate this
674
               Errno::ENETUNREACH
675 675
          raise ResolvTimeout
676 676
        end
677 677
        while true
678
-