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

Testing read_nonblock on a partial TLS record results in IO::WaitReadable #547

Closed
wants to merge 1 commit into from

Conversation

mohamedhafez
Copy link
Contributor

There's been an open issue in JRuby (jruby/jruby#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.

@hsbt hsbt closed this in 894c047 May 25, 2014
mmasaki pushed a commit to mmasaki/ruby that referenced this pull request Jun 22, 2014
  a partial TLS record results in IO::WaitReadable by @mohamedhafez.
  [fix rubyGH-547]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
markjlorenz pushed a commit to covermymeds/ruby that referenced this pull request Jun 30, 2014
  a partial TLS record results in IO::WaitReadable by @mohamedhafez.
  [fix rubyGH-547]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant