mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 05:07:36 +03:00
don't set the TLS version in the transport (#4135)
This is already done in the crypto setup.
This commit is contained in:
parent
f23da7da47
commit
d4ab27de1f
1 changed files with 0 additions and 1 deletions
|
@ -191,7 +191,6 @@ func (t *Transport) dial(ctx context.Context, addr net.Addr, host string, tlsCon
|
||||||
onClose = func() { t.Close() }
|
onClose = func() { t.Close() }
|
||||||
}
|
}
|
||||||
tlsConf = tlsConf.Clone()
|
tlsConf = tlsConf.Clone()
|
||||||
tlsConf.MinVersion = tls.VersionTLS13
|
|
||||||
setTLSConfigServerName(tlsConf, addr, host)
|
setTLSConfigServerName(tlsConf, addr, host)
|
||||||
return dial(ctx, newSendConn(t.conn, addr, packetInfo{}, utils.DefaultLogger), t.connIDGenerator, t.handlerMap, tlsConf, conf, onClose, use0RTT)
|
return dial(ctx, newSendConn(t.conn, addr, packetInfo{}, utils.DefaultLogger), t.connIDGenerator, t.handlerMap, tlsConf, conf, onClose, use0RTT)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue