We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe03c1a commit ef48e17Copy full SHA for ef48e17
caddytls/handshake.go
@@ -99,7 +99,7 @@ func (cg configGroup) GetConfigForClient(clientHello *tls.ClientHelloInfo) (*tls
99
//
100
// This method is safe for use as a tls.Config.GetCertificate callback.
101
func (cfg *Config) GetCertificate(clientHello *tls.ClientHelloInfo) (*tls.Certificate, error) {
102
- if ClientHelloTelemetry {
+ if ClientHelloTelemetry && len(clientHello.SupportedVersions) > 0 {
103
// If no other plugin (such as the HTTP server type) is implementing ClientHello telemetry, we do it.
104
// NOTE: The values in the Go standard lib's ClientHelloInfo aren't guaranteed to be in order.
105
info := ClientHelloInfo{
0 commit comments