forked from quic-go/quic-go
remove the host parameter from all dial functions
This commit is contained in:
@@ -44,6 +44,7 @@ func init() {
|
||||
root := x509.NewCertPool()
|
||||
root.AddCert(ca)
|
||||
tlsClientConfig = &tls.Config{
|
||||
ServerName: "localhost",
|
||||
RootCAs: root,
|
||||
NextProtos: []string{tools.ALPN},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user