Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL engine closes during FTP+SSL test #139

Open
headius opened this issue Aug 3, 2017 · 0 comments
Open

SSL engine closes during FTP+SSL test #139

headius opened this issue Aug 3, 2017 · 0 comments

Comments

@headius
Copy link
Member

headius commented Aug 3, 2017

The following test is new for SSL support changes in net/ftp in Ruby 2.4. I am not investigating this as part of the initial JRuby 9.2 release so I'm excluding it and reporting it here.

     [exec]  12) Error:
     [exec] FTPTest#test_tls_post_connection_check:
     [exec] IOError: closed SSL engine
     [exec]     org/jruby/ext/openssl/SSLSocket.java:869:in `syswrite'
     [exec]     /home/travis/build/jruby/jruby/lib/ruby/stdlib/jopenssl23/openssl/buffering.rb:320:in `do_write'
     [exec]     /home/travis/build/jruby/jruby/lib/ruby/stdlib/jopenssl23/openssl/buffering.rb:417:in `print'
     [exec]     /home/travis/build/jruby/jruby/test/mri/net/ftp/test_ftp.rb:2182:in `block in tls_test'

The relevant commit for the test (and change) in question is here: ruby/ruby@eb8c73a

Our ftp.rb matches MRI's exactly, so it appears this is touching edges of SSL that we do not fully support.

See jruby/jruby#4293, jruby/jruby#4687.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

headius added a commit to jruby/jruby that referenced this issue Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant