Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: JRuby 1.6.5, JRuby 1.6.6
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: Windows
-
Labels:
-
Environment:Windows, JDK 7u3
-
Number of attachments :
Description
Repro steps:
1. Install/Download JRuby 1.6.5, 1.6.6 or 1.6.7
2. Install JDK 7u3 update
3. On Windows command prompt, type jirb
4. type
require 'net/ftp'
ftp = Net::FTP.open('ftp_server', 'anonymous', 'your_email_id')
5. On success, type ftp.nlst or ftp.ls
throws 'ECONNRESET' Connection reset by peer
This works under JDK 6.
Appears to be working ok on master, perhaps due to socket-subsystem rewrites in JRuby 1.7.