mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
reenable key updates for HTTP/3
Chrome was recently updated to v88, which is able to handle key updates correctly.
This commit is contained in:
parent
53b1cbb501
commit
e4dab7fb37
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue