X
X
xverizex2021-09-25 21:46:00
linux
xverizex, 2021-09-25 21:46:00

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 question

Ask a Question

731 491 924 answers to any question