Hello,
I have built a server application which is using session caching by
writing the session files to disk. The session caching is all working
fine but the (old) session never get removed from the disk. I have set
the SSL_CTX_sess_set_remove_cb function to my own remove session
function but it never gets call any idea why it is never called maybe I
need to set a flag or something.
I am running OpenSSL 0.9.7f ( default Fedora Core 4 OpenSSL )
CTX session setup code:
SSL_CTX_set_session_cache_mode( ctx,
SSL_SESS_CACHE_NO_INTERNAL|SSL_SESS_CACHE_SERVER );
SSL_CTX_set_timeout( ctx, sessionCacheTimeout );
SSL_CTX_sess_set_new_cb( ctx, NewSessionCallBack );
SSL_CTX_sess_set_remove_cb( ctx, RemoveSessionCallBack );
SSL_CTX_sess_set_get_cb( ctx, GetSessionCallBack );
Thanks,
Perry
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]