On Tue, Sep 28, 1999 at 08:43:37AM +0200, Heiko Nardmann wrote:

> Since I have a slow authentication I would like to use session caching
> but I am not clear of what to do for it.
> 
> Do I have to provide code for every session caching callback (I read
> ssleay.txt)
> or is this there a setting which enables some default caching which I
> have missed?
> 
> If there is no default caching inside SSLeay does somewhere exists a
> reference
> implementation for it?

Caching is enabled by default, however if the server forks obviously
the new processes will update their respective session caches
independently.  You'll have to provide an external session cache in
this case; see Apache-SSL and mod_ssl (and the OpenSSL source code)
for how to do that.  If you're talking about the client-side,
things are differently -- don't call SSL_new again, just reuse
the old SSL structure; see -reconnect option in apps/s_client.c
or look at ssl/ssltest.c.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to