diff options
| author | Misaki Shioi <31817032+shioimm@users.noreply.github.com> | 2025-12-17 16:16:32 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-17 16:16:32 +0900 |
| commit | 54d3945ee53fa29186c6aa44f673a3a5ec3b38d9 (patch) | |
| tree | 136e3348b58d35df7d71e466ce48f4e13b5c6f51 /test/ruby/test_lambda.rb | |
| parent | 1506c489eef67f268a54484662011a60897bdd48 (diff) | |
Add host information to timeout error messages in `TCPSocket.new` and `Socket.tcp` (#15582)
This change adds host information to the error messages shown when a timeout occurs while passing timeout options to `TCPSocket.new` or `Socket.tcp`, for improved usability.
(When the `fast_fallback option` is enabled, there may be multiple possible destinations, so the host name is shown instead of an IP address.)
As part of this change, the error messages in `Addrinfo.getaddrinfo` and `Addrinfo#connect_internal`, both of which are used by `Socket.tcp`, have also been improved in the same way.
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions
