config: add option for tls renegotiation (#3773)

config: add option for tls renogotiation
This commit is contained in:
Caleb Doxsey 2022-11-28 14:34:06 -07:00 committed by GitHub
parent fa0ba60aee
commit cef6b355ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,