[OpenSSL] [SSL_READ and SSL_WRITE] [Edge Trigged EPOLL]

2014-08-11 Thread Harikrishnan R
I have a TLS Server and TLS Client which is running on the top of *Edge Triggered EPOLL* and *Non Blocking Sockets.* Client and server is doing following operations 1. Client -> Connect to TLS Server. (SSL_CTX_new -> SSL_new -> SSL_set_fd) 2. Client -> Set modes (SSL_MODE_ACCEPT_MOV

[OpenSSL] [SSL_READ and SSL_WRITE] [Edge Trigged EPOLL]

2014-08-11 Thread Harikrishnan R
ffered data is ready for writing to clients). EPOLLOUT is invoked only one time in Server side, when the SSL_WRITE fails for first time. Is there any specific way to handle SSL_READ and SSL_WRITE over Edge Triggered EPOLL ? I am very new to openssl. Please help. -- Harikrishnan R -- Connect with Mar