[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-ssl] resume period in DefaultSessionManager




> I'm having some problems understanding the resume period of the
> DefaultSessionManager used by the SSLContext object. The resume period has
> been set to 60 but seems to be ignored.
> 
> In case it makes any difference, I'm connecting to a server that doesn't
> correctly terminate sessions so I've got setCacheTerminatedSessions to
> true.
> 
> If I make a request for a connection which is successful, the session is
> cached and reused with the next request:
> 
> [Thread-20] [17:05:38] [SEV info] Resume period is: 60
> [Thread-20] [17:05:38] [SEV info] Active sessions in cache: 1
> Removed sessions: 0
> XXX.XXX.co.uk:443 ->
>   id:
> 00:00:44:01:A5:E8:54:9B:B6:5C:B6:8D:F4:A9:E1:D7:8B:92:80:33:4A:3C:DF:3F:F3
> :23:CB:CF:55:5D:6B:3D
> 
> which is fine. However, if I then wait for more than 60 seconds and try a
> request again, the session is still retrieved from the cache. 
> 
> [Thread-25] [17:13:01] [SEV info] Active sessions in cache: 1
> Removed sessions: 0
> XXX.XXX.co.uk:443 ->
>   id:
> 00:00:5F:0E:68:46:0C:DF:D7:09:4A:89:A3:0C:6B:39:4C:A5:A6:B7:9C:ED:FF:5D:5D
> :22:5B:F8:29:16:E8:06
> 
> Could anyone give me any help on this?
> 
> Regards,
> 
> Charles Elliott
> 
--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-ssl