Hi all,

I am trying to write an openssl server using BIO_do_accept and
SSL_read in blocking mode.
But if one needs to write logic to exit the server how does one do
it ? What can make the BIO_do_accept and SSL_read exit ( which I can
trigger through an another thread ) inorder to achieve a graceful
exit ?

Thanks.