Browse Source

Merge pull request #207 from libp2p/quic-v1

update quic-go, enable QUIC v1 (RFC 9000)
pull/1424/head
Marten Seemann 3 years ago
committed by GitHub
parent
commit
3ebc3ba681
  1. 4
      p2p/transport/quic/transport.go

4
p2p/transport/quic/transport.go

@ -19,7 +19,7 @@ import (
"github.com/libp2p/go-libp2p-core/pnet"
tpt "github.com/libp2p/go-libp2p-core/transport"
p2ptls "github.com/libp2p/go-libp2p-tls"
quic "github.com/lucas-clemente/quic-go"
"github.com/lucas-clemente/quic-go"
ma "github.com/multiformats/go-multiaddr"
mafmt "github.com/multiformats/go-multiaddr-fmt"
manet "github.com/multiformats/go-multiaddr/net"
@ -39,7 +39,7 @@ var quicConfig = &quic.Config{
return true
},
KeepAlive: true,
Versions: []quic.VersionNumber{quic.VersionDraft29},
Versions: []quic.VersionNumber{quic.VersionDraft29, quic.Version1},
}
const statelessResetKeyInfo = "libp2p quic stateless reset key"

Loading…
Cancel
Save