ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:100139] [Ruby master Feature#17187] Add connect_timeout to TCPSocket
@ 2020-09-25 11:17 glass.saga
  2020-09-25 11:21 ` [ruby-core:100141] " glass.saga
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: glass.saga @ 2020-09-25 11:17 UTC (permalink / raw)
  To: ruby-core

Issue #17187 has been reported by Glass_saga (Masaki Matsushita).

----------------------------------------
Feature #17187: Add connect_timeout to TCPSocket
https://bugs.ruby-lang.org/issues/17187

* Author: Glass_saga (Masaki Matsushita)
* Status: Open
* Priority: Normal
* Target version: 3.0
----------------------------------------
Add connect_timeout to TCPSocket.new in the same way as Socket.tcp.

```ruby
TCPSocket.new("192.0.2.1", 1234, connect_timeout: 1) #=> raise Errno::ETIMEDOUT
```

---Files--------------------------------
connect_timeout.patch (8.93 KB)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-29  6:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 11:17 [ruby-core:100139] [Ruby master Feature#17187] Add connect_timeout to TCPSocket glass.saga
2020-09-25 11:21 ` [ruby-core:100141] " glass.saga
2020-10-26  5:00 ` [ruby-core:100549] " akr
2020-10-26  5:00 ` [ruby-core:100550] " matz
2020-10-27 14:20 ` [ruby-core:100606] " glass.saga
2020-12-28 14:53 ` [ruby-core:101783] " phobosk
2020-12-29  6:56 ` [ruby-core:101804] " glass.saga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).