[#71439] [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API — matz@...
Issue #11339 has been updated by Yukihiro Matsumoto.
7 messages
2015/11/11
[#71473] Re: [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API
— Eric Wong <normalperson@...>
2015/11/13
Entire series for sockets
[#71450] Ruby 2.3.0-preview1 Released — "NARUSE, Yui" <naruse@...>
Hi,
5 messages
2015/11/11
[#71617] [Ruby trunk - Feature #11664] [PATCH] introduce rb_autoload_value to replace rb_autoload — nobu@...
Issue #11664 has been updated by Nobuyoshi Nakada.
3 messages
2015/11/20
[#71721] [Ruby trunk - Feature #11741] Migrate Ruby to Git from Subversion — me@...
Issue #11741 has been updated by Jon Moss.
4 messages
2015/11/28
[ruby-core:71441] [Ruby trunk - Feature #11612] [Closed] The default mode of Net::FTP should be passive
From:
shugo@...
Date:
2015-11-11 06:09:37 UTC
List:
ruby-core #71441
Issue #11612 has been updated by Shugo Maeda.
Status changed from Open to Closed
The default mode was changed in r52532.
----------------------------------------
Feature #11612: The default mode of Net::FTP should be passive
https://bugs.ruby-lang.org/issues/11612#change-54809
* Author: Shugo Maeda
* Status: Closed
* Priority: Normal
* Assignee: Shugo Maeda
----------------------------------------
The default mode of Net::FTP is active for historical reasons, but it should be changed to passive
because active data connections might be blocked by a local firewall.
Passive data connections might also be blocked by a firewall, but such cases are relatively rare.
In Python, the default mode was changed to passive since Python 2.1.
In Perl, the default mode was changed to passive since libnet-1.21.
One concern is backward compatibility. For example the following code in open-uri.rb wouldn't work
if the default mode is changed.
ftp.passive = true if !options[:ftp_active_mode]
The code has to be changed as follows:
ftp.passive = !options[:ftp_active_mode]
It might be better to check the environment variable FTP_PASSIVE as Perl does.
Any thoughts?
--
https://bugs.ruby-lang.org/