Merge pull request #3745 from quic-go/aggressive-key-updates

initiate the first key update after sending / receiving 100 packets
This commit is contained in:
Marten Seemann
2023-04-19 16:28:33 +02:00
committed by GitHub
4 changed files with 100 additions and 29 deletions

View File

@@ -89,7 +89,7 @@ func runTestcase(testcase string) error {
switch testcase {
case "handshake", "transfer", "retry":
case "keyupdate":
handshake.KeyUpdateInterval = 100
handshake.FirstKeyUpdateInterval = 100
case "chacha20":
reset := qtls.SetCipherSuite(tls.TLS_CHACHA20_POLY1305_SHA256)
defer reset()