upgrade quic-go

This commit is contained in:
ginuerzh
2022-08-18 13:12:11 +08:00
parent f3f3acd4e1
commit bd60c2cf14
12 changed files with 53 additions and 50 deletions

View File

@ -105,7 +105,7 @@ func (d *icmpDialer) Dial(ctx context.Context, addr string, opts ...dialer.DialO
func (d *icmpDialer) initSession(ctx context.Context, addr net.Addr, conn net.PacketConn) (*quicSession, error) {
quicConfig := &quic.Config{
KeepAlive: d.md.keepAlive,
KeepAlivePeriod: d.md.keepAlive,
HandshakeIdleTimeout: d.md.handshakeTimeout,
MaxIdleTimeout: d.md.maxIdleTimeout,
Versions: []quic.VersionNumber{