On Mon, Jun 12, 2000 at 04:43:27PM -0700, Arun Venkataraman wrote:
> * By default, how many sessions are cached? Is this number configurable?

SSL_CTX_sess_set_cache_size()

> * What is the approximate memory overhead per session entry in the cache?

That depends on the certificates. For a session with both server and client
certificate I experience values around 1.0-1.5kbytes.

> * And, how does one identify an incoming handshake request with one already
> in the cache? Is it identified by an ip-port combination of some sort?
The client proposes the ID of a session to be reused. The server then checks,
whether the session is available and can reuse it.
If the particular session is not available or the server does not want to
reuse it for any reason, a new session is negotiated.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to