Hi Oleg, 

I moved some embedded content to a tomcat server, and tested against to
it, it showed exact same problem. It's handshaking every time. I grabbed
the JSSE source code from sun site, Hacked the portion for cache access,
It looked all right as well. The key for put and get are same. It's just
can't get the cached session. 
This leads to 2 directions, either my EasySSLProtocolSocketFactory
causing JSSE sslcontext somehow forgetting previous cached session. Or
JSSE had a bug. I'm thinking it's more likely the first scenario. 
My own EasySSLProtocolSocketFactory is almost exact same like
contributed version except package name change.( I only added couple
extra lines in trustManger) Due to EasySSLProtocolSocketFactory is
manipulating the sslcontext and that's used in JSSE cache portion, so
sslcontext is my current strongest suspect point. 

Do u have a samiliar kind of code for tweaking trustmanagers worked and
reused sessions against either latest version of httpclient or older
version of httpclient? 

Or any other suggestions ? 


Really appreciated for help. 

Abele

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to