reassemble post-handshake TLS messages before passing them to crypto/tls (#4038)

This commit is contained in:
Marten Seemann
2023-08-19 07:16:57 +07:00
committed by GitHub
parent 501cc21c4b
commit 5c5db8cc59
4 changed files with 49 additions and 7 deletions

View File

@@ -408,6 +408,7 @@ func runHandshake(runConfig [confLen]byte, messageConfig uint8, clientConf *tls.
}
client.HandleMessage(ticket, protocol.Encryption1RTT)
}
if sendPostHandshakeMessageToClient {
fmt.Println("sending post handshake message to the client at", messageToReplaceEncLevel)
client.HandleMessage(data, messageToReplaceEncLevel)