Hi,

I encountered a strange error. I have a single thread server running in linux which use epoll for multiple nonblocking connections. There is only one server context, each SSL is created with SSL_new() from the same context.

1. When I have one SSL connection setup, and have traffic going through it without problem.

2. A second connection is comming in and calling SSL_accept(), sometimes it will cause the first SSL's SSL_read return SSL_ERROR_SSL. with the error information from ERR_error_string(): 0x42445e38 Resource temporarily unavailable. error:00000000:lib(0):func(0):reason(0).

It happened when SSL_accept()returns -1, and SSL_get_error() return SSL_ERROR_WANT_READ. At this stage, the SSL is in "SSLv2/v3 read client hello A" when I print with SSL_state_string_long().

Does anybody encounter similar problem?

I am running OpenSSL-0.9.7m.  The two connections are from different PCs.

Thanks

Qunying

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to