Project

General

Profile

Bug #911 ยป fix_resolv_timeout.patch

febuiles (Federico Builes), 12/23/2008 10:30 AM

View differences:

lib/resolv.rb (working copy)
608 608
        while (now = Time.now) < timelimit
609 609
          timeout = timelimit - now
610 610
          if !IO.select([@sock], nil, nil, timeout)
611
            raise ResolvTimeout
611
            raise ResolvTimeout, "timed out while resolving the address"
612 612
          end
613 613
          reply, from = recv_reply
614 614
          begin