From e4dab7fb371d2ce85185963b4a3cfc6c9d936e15 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 20 Jan 2021 14:50:39 +0800 Subject: [PATCH] reenable key updates for HTTP/3 Chrome was recently updated to v88, which is able to handle key updates correctly. --- http3/server.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/http3/server.go b/http3/server.go index ac881e9bf..4c563ad38 100644 --- a/http3/server.go +++ b/http3/server.go @@ -7,7 +7,6 @@ import ( "errors" "fmt" "io" - "math" "net" "net/http" "runtime" @@ -24,13 +23,6 @@ import ( "github.com/marten-seemann/qpack" ) -func init() { - // Chrome compatibility mode: - // Chrome 87 doesn't support key updates (support was added in Chrome 88). - // Don't initiate key updates to avoid breaking large downloads. - handshake.KeyUpdateInterval = math.MaxUint64 -} - // allows mocking of quic.Listen and quic.ListenAddr var ( quicListen = quic.ListenEarly