You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ rvm use jruby-1.7.12,ruby-2.0.0-p353 do ruby bug.rb
jruby-1.7.12: jruby 1.7.12 (1.9.3p392) 2014-04-15 643e292 on Java HotSpot(TM) 64-Bit Server VM 1.8.0-b132 +indy [darwin-x86_64]
jruby WaitReadable true
jruby WaitWritable false
ruby-2.0.0-p353: ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin12.5.0]
ruby WaitReadable false
ruby WaitWritable true
I'm not sure what's right here. To me a connect is a read, so WaitReadable does seem to be what I expect – but MRI is the reference implementation I guess.
The text was updated successfully, but these errors were encountered:
SSLSocket#connect_nonblock
raises an error that is-aIO::WaitReadable
in JRuby, but in MRI it is insteadIO::WaitWritable
:running this shows the mismatch:
I'm not sure what's right here. To me a connect is a read, so
WaitReadable
does seem to be what I expect – but MRI is the reference implementation I guess.The text was updated successfully, but these errors were encountered: