Re: [openssl-users] DTLS in multi-thread and concurrent connection acceptance environment

2017-11-28 Thread Matt Caswell
On 28/11/17 14:01, Anand Choubey via openssl-users wrote: > But I do not know, whether DTLSv1_Listen/SSL_accept in the listener > thread is capable to deal with thousands concurrent connection > establishment. Is there known limitation around it?  I don't know if anyone has ever created any metr

Re: [openssl-users] DTLS in multi-thread and concurrent connection acceptance environment

2017-11-28 Thread Anand Choubey via openssl-users
Hi, I am new in OpenSSL.  I was confused with 1.0.2 implementation where SSL_accept is called inside the DTLSv1_Listen method. But in 1.1.0, SSL_accept must be called after  DTLSv1_Listen in listener thread otherwise async socket will not be reset and epoll will always return data ready. Now th

[openssl-users] DTLS in multi-thread and concurrent connection acceptance environment

2017-11-27 Thread Anand Choubey via openssl-users
Hi, OpenSSL version is 1.1.0e. I am writing high-performance DTLS server which can accept thousands of connections concurrently.   Originally, I decided, DTLSv1_listen would be called inside the listener thread, once DTLSv1_listen returns 1 i.e. successful, a new async socket will be created, it