On Fri, Aug 17, 2001 at 07:07:45PM -0000, ganesh kumar godavari wrote:
> hai lutz,
> thanks for the information, i am still having a problem as the callback function for
>SSL_CTX_SET_remove_cb is not being called.
>
> this is how i am testing, can u tell me where i am wrong??.
>
> on generating a new session i am setting the session time out to 10 sec using
>SSL_set_timeout, (using ssleay.txt information, when an attempt is made to retrive it
>is removed from cache)so when it is removed from cache the callback fuction must be
>called. but it is never called
When do you expect the remove_callback to be called?
It is called, when the session is removed from the session cache:
* the session is explicitly removed from the session cache using
SSL_CTX_remove_session()
* the session cache is cleaned up (and the session has exceeded its timeout)
e.g. by calling SSL_CTX_flush_sessions() (or when the flushing is
performed as regularly scheduled, see SSL_CTX_set_session_cache_mode()).
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]