From 05c994c0db4204f69b2295cadf7c07f4a8719073 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 11 Sep 2020 14:12:41 +0700 Subject: [PATCH] add support for the new keyupdate test case --- interop/client/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interop/client/main.go b/interop/client/main.go index 9d7a23a1..badb321d 100644 --- a/interop/client/main.go +++ b/interop/client/main.go @@ -16,6 +16,7 @@ import ( "github.com/lucas-clemente/quic-go" "github.com/lucas-clemente/quic-go/http3" + "github.com/lucas-clemente/quic-go/internal/handshake" "github.com/lucas-clemente/quic-go/internal/protocol" "github.com/lucas-clemente/quic-go/interop/http09" "github.com/lucas-clemente/quic-go/interop/utils" @@ -86,6 +87,8 @@ func runTestcase(testcase string) error { switch testcase { case "handshake", "transfer", "retry": + case "keyupdate": + handshake.KeyUpdateInterval = 100 case "chacha20": tlsConf.CipherSuites = []uint16{tls.TLS_CHACHA20_POLY1305_SHA256} case "multiconnect":