ruby/ruby — pull request #547 by mohamedhafez (2014-02-26 00:16:32+00:00)
Title: Testing read_nonblock on a partial TLS record results in IO::WaitReadable

There's been an open issue in Jruby (https://github.com/jruby/jruby/issues/1280) caused by read_nonblock spinning indefinitely when only a partial TLS record is available. Jruby syncs their openssl tests from the main ruby repo, so I thought I'd issue this pull request here to add the test for MRI as well. MRI already handles this case correctly.