mirror of
https://github.com/AdguardTeam/dnsproxy.git
synced 2026-10-12 02:01:26 +00:00
ClientSessionCache now used for DoT and DoH too
This commit is contained in:
@@ -199,6 +199,7 @@ func (n *bootstrapper) createTLSConfig(host string) *tls.Config {
|
||||
MinVersion: tls.VersionTLS12,
|
||||
InsecureSkipVerify: n.options.InsecureSkipVerify,
|
||||
VerifyPeerCertificate: n.options.VerifyServerCertificate,
|
||||
ClientSessionCache: tls.NewLRUClientSessionCache(1),
|
||||
}
|
||||
|
||||
// Depending on the URL scheme, we choose what ALPN will be advertised by
|
||||
|
||||
Reference in New Issue
Block a user