[ruby-core:90832] Re: [ruby-cvs:73763] glass:r66659 (trunk): lib/net/http.rb: use connect_timeout instead of Timeout

From: Eric Wong <normalperson@...>
Date: 2018-12-31 00:55:13 UTC
List: ruby-core #90832
[email protected] wrote:
>   https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66659

Hi,

This commit removes timeout handling of name resolution in
(Addrinfo.foreach/Addrinfo.getaddrinfo).  This breaks things
when DNS is slow.

We need to use resolv.rb (and update resolv-replace.rb) to be
able to do timeouts on DNS without Timeout class.

Thanks

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

In This Thread

Prev Next