提交 9b1fd29c 编写于 作者: X xuelei

8130864: Better server identity handling

Reviewed-by: jnimeh, asmotrak, ahgross
上级 922bdb6e
......@@ -620,6 +620,9 @@ final class ClientHandshaker extends Handshaker {
}
} else {
// we wanted to resume, but the server refused
//
// Invalidate the session in case of reusing next time.
session.invalidate();
session = null;
if (!enableNewSession) {
throw new SSLException("New session creation is disabled");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册