<div dir="ltr"><div><div><div><div><div><div>Hi lists<br></div>I am in the process of enabling TLS support on top of libuv. <br></div>The approach being employed is to feed the data ,received from stream, to a BIO from BIO pair.<br></div><br></div>and write back the data from the BIO read using BIO_read after a call to BIO_pending. <br></div>Will this read/write cycle drive the SSL handshake? Do we need to explicitly do handshake in case<br></div><div>of server? <br></div><div><br></div><div>Currently, we do SSL_read to read application data manually by checking if handshake is completed.<br></div><div>Is there a better way to do this? is there a way to get notified?<br><br></div><div>All the code run on the event loop thread. <br></div><div><br></div><div>The real reason for the mail is that, the approach highlighted above works fine for a single client. <br></div><div>But it is unable to handle multiple client. <br></div><div>Will somebody please guide me through with what is wrong.<br><br></div><div>In case, anybody want to have a look at the code. It is available at<br><a href="https://github.com/deleisha/libuv-tls">https://github.com/deleisha/libuv-tls</a> <br></div><div><br><br></div><div><div><div><div><div><div><div><div><div><br><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Warm Regards<br>--Dev<br>OpenPegasus Developer<br><br>"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<br></div></div></div>
</div></div></div></div></div></div></div></div></div></div>