<p dir="ltr">Will somebody please kind enough to answer</p>
<div class="gmail_quote">On Feb 25, 2015 10:57 PM, "Devchandra L Meetei" <<a href="mailto:dlmeetei@gmail.com">dlmeetei@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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><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>
</blockquote></div>