On 9/5/07, Thomas Radke <[EMAIL PROTECTED]> wrote:
>
> During a connection handshake, the server gets stuck forever (or at
> least > 2 hours) in a call to SSL_accept() for the case where it has
> sent its certificate but the client doesn't respond back: because the
> server's certificate is unknown on the client side, the web client (a
> standard browser) will prompt the user to examine the certificate and
> either accept or reject it. While this client/user interaction hasn't
> finished (eg. because the user didn't notice) the server is effectively
> blocked.
>

I've never been using ssl with blocking io, but according to man pages
you need to call SSL_do_handshake() function on the server side.

It should do the handshake, and you will be possible to do the
read/write operations afterwards.

-- 
Regards
Grzegorz Rusin, skype: mr.pks
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to