Answer the question
In order to leave comments, you need to log in
How to reduce timeout for SSL_accept?
I tried this, but SSL_accept still hangs if you connect using nc.
SSL_SESSION *session = SSL_SESSION_new ();
SSL_set_timeout (session, 2);
SSL_set_session (dc->ssl, session);
ret = SSL_accept (dc->ssl);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question