akr
6533f070ba
* lib/resolv.rb (Resolv::DNS): retry IO.select for premature wakeup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-31 12:03:49 +00:00
akr
c4dd8ca7b3
* test/resolv/test_dns.rb: don't check maximum sleeped time.
...
ruby doesn't guarantee the maximum time because it is not a
realtime application.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-31 10:15:27 +00:00
akr
16f4ecbc8c
* lib/resolv.rb: make timeout configurable for DNS query.
...
patch by Eric Wong. [ruby-core:38533] [Feature #5100 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 08:46:12 +00:00
akr
089d2ddda4
* lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 00:06:17 +00:00
akr
50b8893d56
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#inspect):
...
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-02 16:31:00 +00:00