Anton Bobrov wrote:
i dont think it would help in this situation in any way and i do not
think calling SSL_ClearSessionCache is required in order to shutdown
either. why do you think it is necessary ??
I'm pretty sure you have to call SSL_ClearSessionCache() if you want to
be able to call NSS_Shutdown() and not get the SEC_ERROR_BUSY error. We
have a couple of Apache modules that use NSS (mod_nss and mod_admserv)
that must cleanly clear the session cache and shutdown NSS (in this
case, both the client and server caches - the modules are both SSL
servers and clients) because of the way Apache loads and unloads modules
several times during startup.
Rich Megginson wrote:
Or, make sure you call SSL_ClearSessionCache() before calling
NSS_Shutdown(). As Nelson said, NSS caches SSL client session
information - this cache must be cleared, otherwise NSS_Shutdown will
give an error (usually SEC_ERROR_BUSY). It is ok to call
SSL_ClearSessionCache multiple times.
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap