Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.7.0.pre2
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: Standard Library
-
Labels:None
-
Environment:Only tested on OSX
-
Number of attachments :
Description
Running the attached script works on 1.7.0.preview1 and the fails on jruby-head
% rvm use jruby-1.7.0.preview1
% jruby ~/scratch/test_ssl.rb
1.7.0.preview1: 00c8c98
200
% rvm use jruby-head
% jruby ~/scratch/test_ssl.rb
1.7.0.preview2.dev: 3737fc5
JRuby::EAGAINWritable: Resource temporarily unavailable - errno backtraces disabled; run with -Xerrno.backtrace=true to enable
Oops.
commit 06d9f7cc1d371d3ff7673395a5dcb5c6a3b0790e Author: Charles Oliver Nutter <headius@headius.com> Date: Mon Aug 6 11:30:43 2012 -0500 Fix issue with blocking connects in SSLSocket. Introduced by my patches to allow nonblocking connect and accept, since I modified the original behavior after a failed select. :100644 100644 2e5458e... 7c175fc... M src/org/jruby/ext/openssl/SSLSocket.java