mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
parent
0a08d62dea
commit
d39a33f921
1 changed files with 2 additions and 0 deletions
|
@ -231,6 +231,8 @@ func newClient(
|
|||
) (*client, error) {
|
||||
if tlsConf == nil {
|
||||
tlsConf = &tls.Config{}
|
||||
} else {
|
||||
tlsConf = tlsConf.Clone()
|
||||
}
|
||||
if tlsConf.ServerName == "" {
|
||||
sni := host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue