set the handshake timeout to twice the handshake idle timeout (#4063)

This commit is contained in:
Marten Seemann
2023-09-09 20:12:37 +07:00
committed by GitHub
parent 54b76ceb3e
commit e1fcac3e46
6 changed files with 7 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ var _ = Describe("Timeout tests", func() {
context.Background(),
"localhost:12345",
getTLSClientConfig(),
getQuicConfig(&quic.Config{HandshakeIdleTimeout: 10 * time.Millisecond}),
getQuicConfig(&quic.Config{HandshakeIdleTimeout: scaleDuration(50 * time.Millisecond)}),
)
errChan <- err
}()