Update quic-go to v0.48.1

This commit is contained in:
世界 2024-11-04 11:19:47 +08:00
parent a176cde682
commit 897565c793
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 17 additions and 24 deletions

View file

@ -66,7 +66,7 @@ func CreateTransport(conn net.PacketConn, quicConnPtr *quic.EarlyConnection, ser
if err != nil {
return nil, err
}
return &http3.RoundTripper{
return &http3.Transport{
TLSClientConfig: tlsConfig,
QUICConfig: quicConfig,
Dial: func(ctx context.Context, addr string, tlsCfg *tls.Config, cfg *quic.Config) (quic.EarlyConnection, error) {