config: add option for tls renogotiation

This commit is contained in:
Caleb Doxsey 2022-11-28 12:20:01 -07:00
parent fa0ba60aee
commit 15d69424d9
5 changed files with 604 additions and 530 deletions

View file

@ -307,7 +307,8 @@ func (b *Builder) buildPolicyTransportSocket(
ValidationContext: vc,
},
},
Sni: sni,
Sni: sni,
AllowRenegotiation: policy.TLSUpstreamAllowRenegotiation,
}
if policy.ClientCertificate != nil {
tlsContext.CommonTlsContext.TlsCertificates = append(tlsContext.CommonTlsContext.TlsCertificates,