Re: Wierd behavior with SSL Session cache stats - client side.

2001-09-08 Thread Lutz Jaenicke
On Fri, Sep 07, 2001 at 05:39:52PM -0400, Louis LeBlanc wrote: Now I have another problem. In trying to call SSL_CTX_flush_sessions(ssl_ctx, time(0)); I am being blessed with a core dump. [output deleted] I could be wrong, but I think that negative value on the timeout is a bad thing.

Re: Wierd behavior with SSL Session cache stats - client side.

2001-09-08 Thread Louis LeBlanc
On 09/08/01 01:04 PM, Lutz Jaenicke sat at the `puter and typed: On Fri, Sep 07, 2001 at 05:39:52PM -0400, Louis LeBlanc wrote: Now I have another problem. In trying to call SSL_CTX_flush_sessions(ssl_ctx, time(0)); I am being blessed with a core dump. [output deleted] I could

Re: Wierd behavior with SSL Session cache stats - client side.

2001-09-07 Thread Lutz Jaenicke
On Fri, Sep 07, 2001 at 12:52:55PM -0400, Louis LeBlanc wrote: On 09/07/01 12:03 AM, Lutz Jaenicke sat at the `puter and typed: On Thu, Sep 06, 2001 at 03:16:17PM -0400, Louis LeBlanc wrote: By using SSL_get1_session() the reference count is incremented and therefore the sessions will stay

Re: Wierd behavior with SSL Session cache stats - client side.

2001-09-07 Thread Louis LeBlanc
On 09/07/01 08:59 PM, Lutz Jaenicke sat at the `puter and typed: I'll be very careful with my answer, as I don't program with threads myself. SSL_get1_session() will increment the reference counter, so that when the session would be removed otherwise, it will stay available. If you call