glass.saga / gmail.com wrote:
> Feature #15553: Addrinfo.getaddrinfo supports timeout
> https://bugs.ruby-lang.org/issues/15553

Can we rely on resolv.rb more, instead? (and improve on it)

> It uses getaddrinfo_a(3) if available, otherwise it uses Timeout.

getaddrinfo_a(3) still spawns background threads in glibc;
so not a big win.

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>