------art_10986_22158852.1202347199705
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello.  I'm attempting to use SSL within my Fiber-based Actor framework (
http://revactor.org) and running into problems incorporating SSL.

As far as I can discern, OpenSSL::SSL::SSLSocket#sysread and #syswrite are
non-blocking (please correct me if this is wrong) if the socket is in the
read/write ready state to begin with, which is great.

However, #connect and #accept, which (I believe) do the SSL handshaking,
both block.

Is there any way to do a non-blocking SSL handshake?

--
Tony Arcieri
ClickCaster, Inc.
tony / clickcaster.com

------art_10986_22158852.1202347199705
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello.&nbsp; I&#39;m attempting to use SSL within my Fiber-based Actor framework (<a hrefttp://revactor.org">http://revactor.org</a>) and running into problems incorporating SSL.<br><br>As far as I can discern, OpenSSL::SSL::SSLSocket#sysread and #syswrite are non-blocking (please correct me if this is wrong) if the socket is in the read/write ready state to begin with, which is great.<br>
<br>However, #connect and #accept, which (I believe) do the SSL handshaking, both block.<br><br>Is there any way to do a non-blocking SSL handshake?<br><br>--<br>Tony Arcieri<br>ClickCaster, Inc.<br><a hrefailto:tony / clickcaster.com">tony / clickcaster.com</a><br>

------art_10986_22158852.1202347199705--