Skip to content

Commit

Permalink
don't set the TLS version in the transport (#4135)
Browse files Browse the repository at this point in the history
This is already done in the crypto setup.
  • Loading branch information
marten-seemann committed Nov 1, 2023
1 parent f23da7d commit d4ab27d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ func (t *Transport) dial(ctx context.Context, addr net.Addr, host string, tlsCon
onClose = func() { t.Close() }
}
tlsConf = tlsConf.Clone()
tlsConf.MinVersion = tls.VersionTLS13
setTLSConfigServerName(tlsConf, addr, host)
return dial(ctx, newSendConn(t.conn, addr, packetInfo{}, utils.DefaultLogger), t.connIDGenerator, t.handlerMap, tlsConf, conf, onClose, use0RTT)
}
Expand Down

0 comments on commit d4ab27d

Please sign in to comment.