[前][次][番号順一覧][スレッド一覧]

ruby-changes:63997

From: Masaki <ko1@a...>
Date: Mon, 7 Dec 2020 21:38:22 +0900 (JST)
Subject: [ruby-changes:63997] c6b37cb169 (master): Remove resolv_timeout of TCPSocket.new from NEWS

https://git.ruby-lang.org/ruby.git/commit/?id=c6b37cb169

From c6b37cb169f190bac46c76a643350ee4ffc3dfca Mon Sep 17 00:00:00 2001
From: Masaki Matsushita <glass.saga@g...>
Date: Mon, 7 Dec 2020 21:32:25 +0900
Subject: 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.

diff --git a/NEWS.md b/NEWS.md
index 80319e5..7bb75b9 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -373,15 +373,6 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L373
 
     * 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.
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]