We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd4353b commit f45b1e3Copy full SHA for f45b1e3
NEWS.md
@@ -224,6 +224,11 @@ Note: We're only listing outstanding class updates.
224
225
* `Socket.tcp` & `TCPSocket.new` accepts an `open_timeout` keyword argument to specify
226
the timeout for the initial connection. [[Feature #21347]]
227
+ * When a user-specified timeout occurred in `TCPSocket.new`, either `Errno::ETIMEDOUT`
228
+ or `IO::TimeoutError` could previously be raised depending on the situation.
229
+ This behavior has been unified so that `IO::TimeoutError` is now consistently raised.
230
+ (Please note that, in `Socket.tcp`, there are still cases where `Errno::ETIMEDOUT` may
231
+ be raised in similar situations.)
232
233
* String
234
0 commit comments