Mike,

You could try using my TLS terminator as a base of your server:
http://github.com/indutny/bud . It is written on the top of the libuv,
though, not using asynchronous BIOs (in fact it is using my custom
BIO).

Cheers,
Fedor.

On Sat, Mar 1, 2014 at 4:03 AM, Mike Mangelsdorf
<[email protected]> wrote:
> I am using openssl to implement a tls server with libuv. There is a lot of
> dated information on the web on how to do non-blocking openssl, but a
> reasonable approach seems to be:
>
> http://h71000.www7.hp.com/doc/83final/ba554_90007/ch04s03.html
>
> This document recommends creating a non-blocking socket BIO like so: sbio =
> BIO_new_socket( socket, BIO_NOCLOSE); and then use asynchronous SSL_read and
> SSL_write. Is this the right BIO type to use though, as it would presumably
> involve a private socket fd from libuv?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "libuv" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/libuv.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to