I'd like to control whether or not to offer the "h2" protocol during TLS handshake based on the client's requested server name. Currently there's no way to do this with crypto/tls.
Would an optional callback similar to GetCertificate be useful for this and other similar cases?
I'd like to control whether or not to offer the "h2" protocol during TLS handshake based on the client's requested server name. Currently there's no way to do this with crypto/tls.
Would an optional callback similar to GetCertificate be useful for this and other similar cases?