Plumb NextProtos to TLS client config, honor http/2 client preference

Kubernetes-commit: aef05c8dca2c1a9967ebd9a2f67a0bf7fb16f079
This commit is contained in:
Jordan Liggitt
2019-08-28 09:55:37 -04:00
committed by Kubernetes Publisher
parent 326ca7a019
commit 696c159e45
8 changed files with 34 additions and 6 deletions

View File

@@ -38,6 +38,11 @@ func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig) {
*out = make([]byte, len(*in))
copy(*out, *in)
}
if in.NextProtos != nil {
in, out := &in.NextProtos, &out.NextProtos
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}