Hi Susan,

1. Do not disable polling for NetVC.
- SSLNetVC read data into rBIO and call SSL_accept().
- We have to fill the rBIO by polling READ event on NetVC.
- Add a new `EventIO trigger_ep;` for SSLNetVC.

2. Do not share the EventIO with socket fd and openssl wait fd

3. Handle SSL_ERROR_WANT_ASYNC within switch(ssl_error) statement
- Consider it is a kind of recoverable ssl error
- Set up the epoll entry for the waitfd

4. Clean up the epoll entry only on handshake done
- Now, it is only support ASYNC mode on ssl handshake.
- Next, we can expand the ASYNC mode on ssl data send & receive

Please find the details in the attached patch file.

--
- Oknet Xu

Reply via email to