• Adam Langley's avatar
    crypto/tls: add server side SNI support. · 7e48cb5f
    Adam Langley authored
    With this in place, a TLS server is capable of selecting the correct
    certificate based on the client's ServerNameIndication extension.
    
    The need to call Config.BuildNameToCertificate is unfortunate, but
    adding a sync.Once to the Config structure made it uncopyable and I
    felt that was too high a price to pay. Parsing the leaf certificates
    in each handshake was too inefficient to consider.
    
    R=bradfitz, rsc
    CC=golang-dev
    https://golang.org/cl/5151048
    7e48cb5f
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...