Project

General

Profile

Actions

Feature #17134

open

Add resolv_timeout to TCPSocket

Added by Glass_saga (Masaki Matsushita) about 4 years ago. Updated almost 2 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:99766]

Description

Add resolve_timeout to TCPSocket.new.
It makes DNS timeout customizable in the same way as Socket.tcp.

https://github.com/ruby/ruby/pull/3472


Files

resolv_timeout.patch (6.07 KB) resolv_timeout.patch Glass_saga (Masaki Matsushita), 08/29/2020 05:26 AM

Related issues 4 (1 open3 closed)

Related to Ruby master - Feature #16381: Accept resolv_timeout in Net::HTTPOpenActions
Related to Ruby master - Feature #17187: Add connect_timeout to TCPSocketClosedGlass_saga (Masaki Matsushita)Actions
Related to Ruby master - Bug #17220: Rails Active Job integration test fails with Ruby 3.0.0 since 2038cc6cab6ceeffef3ec3a765c70ae684f829edClosedGlass_saga (Masaki Matsushita)Actions
Related to Ruby master - Feature #16476: Socket.getaddrinfo cannot be interrupted by Timeout.timeoutClosedGlass_saga (Masaki Matsushita)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0