mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8226338: Updates to Stateless Resumption
Reviewed-by: xuelei, jnimeh
This commit is contained in:
parent
e352e9327c
commit
200254b479
11 changed files with 677 additions and 113 deletions
|
@ -482,7 +482,7 @@ final class Finished {
|
|||
shc.conContext.inputRecord.expectingFinishFlight();
|
||||
} else {
|
||||
if (shc.handshakeSession.isRejoinable() &&
|
||||
!shc.statelessResumption) {
|
||||
!shc.handshakeSession.isStatelessable(shc)) {
|
||||
((SSLSessionContextImpl)shc.sslContext.
|
||||
engineGetServerSessionContext()).put(
|
||||
shc.handshakeSession);
|
||||
|
@ -847,6 +847,8 @@ final class Finished {
|
|||
shc.conContext.serverVerifyData = fm.verifyData;
|
||||
}
|
||||
|
||||
shc.conContext.conSession = shc.handshakeSession.finish();
|
||||
|
||||
// update the context
|
||||
shc.handshakeConsumers.put(
|
||||
SSLHandshake.FINISHED.id, SSLHandshake.FINISHED);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue