[ruby-core:91289] Re: [Ruby trunk Feature#15553] Addrinfo.getaddrinfo supports timeout

From: Eric Wong <normalperson@...>
Date: 2019-01-26 20:49:44 UTC
List: ruby-core #91289
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>

In This Thread