You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Chao Xu <ok...@apache.org> on 2020/06/20 13:14:00 UTC
My idea about PR#6910
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