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.
时间: 2024-10-30 08:13:24