ssl.accept_nonblock => self
Instance Public methods
Initiates the SSL/TLS handshake as a server in non-blocking manner.
1 2 3 4 5 6 7 8 9 10 | # emulates blocking accept begin ssl.accept_nonblock rescue IO ::WaitReadable IO .select([s2]) retry rescue IO ::WaitWritable IO .select( nil , [s2]) retry end |
Please login to continue.