# File lib/cool.io/dns_resolver.rb, line 208 def on_timer @attempts += 1 if @attempts <= RETRIES begin return @resolver.__send__(:send_request) rescue Errno::EHOSTUNREACH # if the DNS is toast try again after the timeout occurs again return nil end end @resolver.__send__(:on_timeout) @resolver.detach end
Generated with the Darkfish Rdoc Generator 2.