diff options
| author | Masaki Matsushita <glass.saga@gmail.com> | 2018-12-31 12:17:39 +0900 |
|---|---|---|
| committer | Masaki Matsushita <glass.saga@gmail.com> | 2019-09-09 14:34:05 +0900 |
| commit | 6382f5cc91ac9e36776bc854632d9a1237250da7 (patch) | |
| tree | 4276c3de900e0f4300b8e0165dfc94ead4e0920d /spec/ruby/core/array/shift_spec.rb | |
| parent | fa79219356715e28529b721e81056ec69a998c4e (diff) | |
Support timeout for Addrinfo
Addrinfo.getaddrinfo and .foreach now accepts :timeout in seconds as
a keyword argument. If getaddrinfo_a(3) is available, the timeout will be
applied for name resolution. Otherwise, it will be ignored.
Socket.tcp accepts :resolv_timeout to use this feature.
Diffstat (limited to 'spec/ruby/core/array/shift_spec.rb')
0 files changed, 0 insertions, 0 deletions
