jruby-openssl icon indicating copy to clipboard operation
jruby-openssl copied to clipboard

SSL engine closes during FTP+SSL test

Open headius opened this issue 8 years ago • 0 comments

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: https://github.com/ruby/ruby/commit/eb8c73adbccb1b87269f78c300ea08ffd08e44c4

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 avatar Aug 03 '17 22:08 headius