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:
parent
29dee10af2
commit
c6b37cb169
1 changed files with 0 additions and 9 deletions
9
NEWS.md
9
NEWS.md
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue