mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-03 21:27:37 +03:00
Update xtransport.go
revert follow up change
This commit is contained in:
parent
78e6dc6b90
commit
4c8c968c4f
1 changed files with 1 additions and 2 deletions
|
@ -226,8 +226,7 @@ func (xTransport *XTransport) rebuildTransport() {
|
|||
} else {
|
||||
tlsClientConfig.ClientSessionCache = tls.NewLRUClientSessionCache(10)
|
||||
}
|
||||
overrideCipherSuite := xTransport.tlsCipherSuite != nil && len(xTransport.tlsCipherSuite) > 0
|
||||
if overrideCipherSuite != nil {
|
||||
if xTransport.tlsCipherSuite != nil {
|
||||
tlsClientConfig.PreferServerCipherSuites = false
|
||||
tlsClientConfig.MaxVersion = tls.VersionTLS13
|
||||
var tls13 = "198 199 4865 4866 4867 4868 4869 49332 49333"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue