1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove resolv_timeout of TCPSocket.new from NEWS

We couldn't support it for now, because getaddrinfo_a(3)
was reverted in 5d8bcc4870. `resolv_timeout` will be just ignored.
This commit is contained in:
Masaki Matsushita 2020-12-07 21:32:25 +09:00
parent 29dee10af2
commit c6b37cb169

View file

@ -373,15 +373,6 @@ Outstanding ones only.
* Update to RubyGems 3.2.0.rc.1
* Socket
* TCPSocket.new now supports `resolv_timeout`. [[Feature #17134]]
```ruby
# it raises SocketError if name resolution is not finished within resolve_timeout.
tcp_socket = TCPSocket.new("example.com", 80, resolv_timeout: 10)
```
## Compatibility issues
Excluding feature bug fixes.