Jump to content
nouvakis

Cache mode - Debug

Recommended Posts

1. in procedure TSslContext.InitContext

...

if CheckLogOptions(loSslInfo) then  { V8.40 }
   DebugLog(loSslInfo, 'Set sslSESS_CACHE_SERVER');

***********************************

It always writes sslSESS_CACHE_SERVER ignoring correspondig Session cache modes

----------------------------------------------------------

 

2. TCustomSslWSocket.TriggerSslHandshakeDone(ErrCode : Word);

...

FSslPeerCert.X509 := PeerX;

 

should become

if Assigned(FSslPeerCert) then  // add this one please
       FSslPeerCert.X509 := PeerX;

---------------------------------------------------------

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×