Koza wrote:
> Hi,
>
> I would like my web server inform me when the connection with the client is
> lost (for example using (f)printf). But unfortunately I cannot find the last
> function called in ssl transaction between client-server. I tried
> SSL_shutdown and BIO_free but these don't work.
>
> Can you please help me?
> Thank you in advance!
>
> Best regards,
> Koza
If you mean you want to detect closures due to alerts from peer then the
cleanest way would be thorugh the 'info_callback'. Try looking at
SSL_CTX_set_info_callback().
If it's socket closures, then your app code could do the logging.
-jb
--
Armor's Axiom:
Virtue is the failure to achieve vice.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]