Re: session caching with multiple threads

2007-01-31 Thread Alexis Lefort
I still have another question, how can I read the reference counter of a SSL_SESSION object? If I can read it, I could know if another task is using the SESSION. It could prevent me from deleting the pointer to the SESSION. Regards, Alexis Alexis Lefort a écrit : Hello all, I am doing, i

Re: Session Caching Help

2005-11-21 Thread Perry L. Jones
Sorry I left that line out yes I have set that too, maybe 10 is not a good value to set in this functions? SSL_CTX_set_session_id_context( ctx, "Server", 10 ) Perry Arno Garrels wrote: Perry L. Jones wrote: Can someone please tell me why my server application does not cache a session if

Re: Session Caching Help

2005-11-21 Thread Arno Garrels
Perry L. Jones wrote: > Can someone please tell me why my server application does not cache a > session if It set the options to the following? > > SSL_CTX_set_session_cache_mode( ctx, SSL_SESS_CACHE_SERVER ); > > and I don't set the callback functions: > > SSL_CTX_sess_set_new_cb( ctx, NewSess

Re: session caching

2001-08-15 Thread Lutz Jaenicke
On Wed, Aug 15, 2001 at 12:02:54AM -, ganesh kumar godavari wrote: > i am writting a minimal concurrent ssl server, i am > planning to use external session caching for this. > i am using the the following hooks. > > SSL_CTX_sess_set_remove_cb(ctx, cb) > void call_back(SSL_CTX,SSL_SESSION) >

Re: Session caching

2000-09-28 Thread Lutz Jaenicke
On Thu, Sep 28, 2000 at 09:27:23AM -0400, Ari Pirinen wrote: > However, would someone please explain to me the function of > SSL_CTX_set_session_id_context function call??? I hate to > use functions which I have no idea what they do. I've searched all over the > documents, the sources etc. but jus

Re: Session caching

1999-06-22 Thread Bodo Moeller
On Tue, Jun 22, 1999 at 06:23:09PM +0200, Oliver Floericke wrote: > I'm would like to convince OpenSSL to cache the session ID's but how can I > achive this? > > I have a Client that sends him his SessionId which OpenSSL should already > have, but the answer from OpenSSL is that it do not want t