Feature #5100
closed
allow configurable timeouts in resolv.rb
Added by normalperson (Eric Wong) over 13 years ago.
Updated about 13 years ago.
Description
Currently the resolv.rb timeouts are hard-coded and too high for some
users. It would be nice to have an easy way of timing out DNS requests without
resorting to the innefficient and potentially dangerous "timeout" library.
Files
I've added a timeouts= instance method to Resolv::DNS. I'm unsure about
the API, but it should be usable (test case included).
Also pullable via git:
git pull git://bogomips.org/ruby resolv-timeout
- Assignee set to akr (Akira Tanaka)
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r33504.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
Also available in: Atom
PDF
Like0
Like0Like0Like0