Hello,

> Would appreciate any advice on how to procede with debugging this.
As usual my suggestion is to add "-msg -debug" options to get more
information from openssl s_client.
On server you may check auto-retry option:
        SSL_CTX_set_mode(ctx, SSL_MODE_AUTO_RETRY);
this may help if not correctly support return codes
from SSL read/write functions.

Remember that data is buffered in SSL layer, so sometimes
when you use select() on filedescriptor you may wait for
client data (that is already in local SSL buffer) and client
will wait for server response - and connection looks hang.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

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

Reply via email to