Joseph Wu commented on MESOS-10003:

This is less of a design doc, and more of a design blurb, because the task here 
is to use the OpenSSL library directly.

Before proceeding, we will use OpenSSL's Basic I/O (BIO) abstraction a lot in 
this blurb, so reading this overview will help:

Our reference implementation is from libevent:

We do not use all aspects of Libevent's SSL implementation.  We use the 
{{bufferevent_openssl_socket_new}} method, which is a thin wrapper around 
OpenSSL's {{BIO_new_socket}} and {{SSL_set_bio}} methods.

{{BIO_new_socket}} takes a socket and transforms it into a source/sink BIO, 
while {{SSL_set_bio}} takes an SSL context and assigns the BIO to it, which 
allows use of methods like {{SSL_read}} and {{SSL_write}}.

The role of libevent is to space out calls to read/write based on the 
bufferevents we give libevent.

> Design doc for SSL on Windows
> -----------------------------
>                 Key: MESOS-10003
>                 URL: https://issues.apache.org/jira/browse/MESOS-10003
>             Project: Mesos
>          Issue Type: Task
>          Components: libprocess
>            Reporter: Greg Mann
>            Assignee: Joseph Wu
>            Priority: Major
>              Labels: foundations

This message was sent by Atlassian Jira

Reply via email to