[openssl-users] Integrating openSSL with libuv's event loop

Devchandra L Meetei dlmeetei at gmail.com
Wed Feb 25 17:27:01 UTC 2015


Hi lists
I am in the process of enabling TLS support on top of libuv.
The approach being employed is to feed the data ,received from stream, to a
BIO from BIO pair.

and write back the data from the BIO read using BIO_read after a call to
BIO_pending.
Will this read/write cycle drive the SSL handshake? Do we need to
explicitly do handshake in case
of server?

Currently, we do SSL_read to read application data manually by checking if
handshake is completed.
Is there a better way to do this? is there a way to get notified?

All the code run on the event loop thread.

The real reason for the mail is that, the approach highlighted above works
fine for a single client.
But it is unable to handle multiple client.
Will somebody please guide me through with what is wrong.

In case, anybody want to have a look at the code. It is available at
https://github.com/deleisha/libuv-tls




-- 
Warm Regards
--Dev
OpenPegasus Developer

"I'm one of those people that think Thomas Edison and the light bulb
changed the world more than Karl Marx ever did," Steve Jobs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150225/587a8903/attachment.html>


More information about the openssl-users mailing list