From: Tanaka Akira Date: 2011-07-26T16:23:22+09:00 Subject: [ruby-core:38518] Re: [Ruby 1.9 - Feature #5064] HTTP user-agent class 2011/7/26 Eric Hodel : > If you are having problems with DNS blocking then require 'resolv/replace' to get non-blocking DNS lookups. Non-blocking DNS in ruby has been available back to 1.6. Ruby invokes getaddrinfo() without GVL since 1.9.2. This means, even without resolv/replace, DNS lookup doesn't block other threads if the platform have getaddrinfo(). -- Tanaka Akira