ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:97510] [Ruby master Feature#12919] Net::FTP does not have a default open_timeout
       [not found] <redmine.issue-12919.20161110094515.11508@ruby-lang.org>
@ 2020-03-15 17:20 ` mame
  0 siblings, 0 replies; only message in thread
From: mame @ 2020-03-15 17:20 UTC (permalink / raw
  To: ruby-core

Issue #12919 has been updated by mame (Yusuke Endoh).

Backport deleted (2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN)
Status changed from Open to Rejected
Tracker changed from Bug to Feature

Looks not a bug.  And there is no discussion from OP for three years.  Closing the ticket.

----------------------------------------
Feature #12919: Net::FTP does not have a default open_timeout
https://bugs.ruby-lang.org/issues/12919#change-84659

* Author: attilagyorffy (Attila Györffy)
* Status: Rejected
* Priority: Normal
----------------------------------------
Hi Ruby Community,

I have noticed an issue on Twitter sent by a friend who reported that Ruby's FTP module does not have a default open_timeout and it could cause a process to hang (background workers, etc). Despite not having created a test case for this, I've seen in the docs that apparently this is in fact the case: http://ruby-doc.org/stdlib-2.0.0/libdoc/net/ftp/rdoc/Net/FTP.html#open_timeout=

I'm opening this issue for further discussion. In my honest opinion, a reasonable default (not nil) would be a good idea to have so that we can make sure processes won't hang.

What do you think?



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

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-15 17:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-12919.20161110094515.11508@ruby-lang.org>
2020-03-15 17:20 ` [ruby-core:97510] [Ruby master Feature#12919] Net::FTP does not have a default open_timeout mame

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).