mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
remove the host parameter from all dial functions
This commit is contained in:
parent
ea721c9c75
commit
d683b841c4
14 changed files with 43 additions and 237 deletions
|
@ -44,6 +44,7 @@ func init() {
|
|||
root := x509.NewCertPool()
|
||||
root.AddCert(ca)
|
||||
tlsClientConfig = &tls.Config{
|
||||
ServerName: "localhost",
|
||||
RootCAs: root,
|
||||
NextProtos: []string{tools.ALPN},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue