8130864: Better server identity handling
Reviewed-by: jnimeh, asmotrak, ahgross
This commit is contained in:
parent
3ca3a07d79
commit
6055fda904
@ -672,6 +672,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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user