Hi,

I'm having trouble makeing the server side cache hang on to SSL sessions
when all connections from the client are lost. If the client maintains one
open connection, and re-uses its ssl session, the cache on the server knows
to use the same session - i.e. the SSL_get_session() gives me the same
number. But if the client drops its last connection, and creates a new
connection to the server, still using the same ssl session as before, the
server sees this as a new ssl session. BTW, SSL_free() is called when a
connection is dropped in order to clean up memory.

I have tryed a number of things to try and keep the ssl session in the
server cache, but nothing seems to work (more below). How have other people
implemented this functionality?

I have tryed creating a extra connection with SSL_new() etc, and setting
the ssl session to be the same as the real connection - therefore stopping
the SSL_free from removeing the cached entry(?). I have tryed SSL_dup() on
the connection - this one stopped data flow. I have alsy tryed upping the
ssl session reference count manually on the connection. None of these have
worked. Help....

Best Regards,

Jimmy





----------------------------------------------------------
    James Darwin             http://www.dascom.com
 Senior Software Engineer    DASCOM Australia Pty Ltd.
   [EMAIL PROTECTED]          Bond University Australia.
----------------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to