mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #6467 from coreos/revert-6465-tls-copy
Revert "pkg/transport: update tls.Config copy method"
This commit is contained in:
commit
2dc06787ae
@ -268,8 +268,6 @@ func ShallowCopyTLSConfig(cfg *tls.Config) *tls.Config {
|
|||||||
ClientSessionCache: cfg.ClientSessionCache,
|
ClientSessionCache: cfg.ClientSessionCache,
|
||||||
MinVersion: cfg.MinVersion,
|
MinVersion: cfg.MinVersion,
|
||||||
MaxVersion: cfg.MaxVersion,
|
MaxVersion: cfg.MaxVersion,
|
||||||
DynamicRecordSizingDisabled: cfg.DynamicRecordSizingDisabled,
|
|
||||||
Renegotiation: cfg.Renegotiation,
|
|
||||||
CurvePreferences: cfg.CurvePreferences,
|
CurvePreferences: cfg.CurvePreferences,
|
||||||
}
|
}
|
||||||
return &ncfg
|
return &ncfg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user