Descriptiontls: allow dynamic certificate selections for TLS servers.
This change introduces a Config.CertificateResolver
callback that will be used for dynamically selecting
the certificate to use for a particular server name.
This accomodates for mass-TLS hosting scenarios (where
it is not practical to load all the certificates
upfront) and for TLS proxy interceptors (for example
development debugging proxies) where the certificates
have to be generated on the fly.
Patch Set 1 #Patch Set 2 : diff -r ea9b86f1ad2d https://code.google.com/p/go/ # |