[openssl-users] SSL_accept appears to be stuck

Prabhu S yesprabhu at gmail.com
Wed Jan 27 07:17:06 UTC 2016

I have an SSL server, which has, suddenly stopped processing client

I see the following error.

>> SSL_GET_NEW_SESSION:ssl session id callback failed.

Exactly after 15 seconds of calling SSL_accept, the error is seen. The
socket is non-blocking. The application was running fine for about 10 days.
The problem started suddenly and thereafter, each and every call fails with
the above error. And each time it is 15 seconds.

The application has 20 worker threads and one epoll thread which handles
data and hands it over to worker threads for processing.

The epoll thread gets client-hello, notifies the worker thread which calls

Any thoughts on why SSL_accept would not return even if socket is

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160127/db630d6a/attachment.html>

More information about the openssl-users mailing list