首页 > 代码库 > tls session resumption

tls session resumption

http://stackoverflow.com/questions/12318325/resume-tls-connection-in-java

As long as you use the same SSLSocketFactory to create the sockets, the JSSE implementation in Java will automatically resume an existing session, if the session is still valid.

You can verify this by invoking SSLSocket.getSession().getId() and check if two different sockets are using the same session.

tls session resumption