Skip to content

Commit

Permalink
don't set the TLS version in the transport
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 Oct 27, 2023
1 parent 5311f81 commit dfa7d80
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 dfa7d80

Please sign in to comment.