Hi,
I am working on a simple SSL proxy which does
transformation from HTTPs requests to normal HTTP.
I am using "OpenSSL ver 0.9.5a". The problem is that
the proxy starts a new SSL session (SSL handshake) for
each connection, even if the client (browser) sends
the session ID along with the "client hello".
I tried enabling session caching using:
SSL_CTX_set_sess_cache_mode(sslctx,
SSL_SESS_CACHE_SERVER);
I use SSL_accept() and SSL_new() API in the program.
Funtion, "lh_stats(...)" gives proper info about the
session list, number of nodes allocated, used, etc.
SSL_CTX_sess_number(sslctx) gives the number of
sessions stored in the cache, but for the next request
from the client, I get Session-Cache miss, function
SSL_CTX_sess_misses(sslctx).
Can anybody point out what's wrong in my approach or
any pointer to some useful info on the net/site.
Any help will be greatly appreciated.
Regards,
Tushar.
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]