T
Tony Arcieri
[Note: parts of this message were removed to make it a legal post.]
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?
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?